Part Number Hot Search : 
NJM2519 GU7806A LL55C4V3 5C222 25P10 PL8122 8051F9 645ET
Product Description
Full Text Search
 

To Download EVAL-ADAU1781Z Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  low noise stereo codec w ith sigmadsp processing core adau1781 rev. b information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without notice. no license is granted by implication or otherwise under any patent or patent rights of analog de vices. trademarks and registered trademarks are the property of their respective owners. one technology way, p.o. box 9106, norwood, ma 02062 - 9106, u.s.a. tel: 781.329.4700 www.analog.com fax: 781.461.3113 ? 2009 C 2011 analog devices, inc. all rights reserved. features 24- bit stereo audio adc and dac 400 mw speaker amplifier (into 8 ? load) programmable sigmadsp audio processing core wind noise detection and filtering enhanced stereo capture (esc) dynamics processing equalization and filtering volume control and mute sampling rates from 8 khz to 96 khz stereo pseudo differential microphone input optional stereo digital microphone input pulse - density modulation (pdm) stereo line output pll supporting a range of input clock rates analog and d igital i/o 1.8 v to 3. 3 v software control via sigmastudio graphical user interface software - controllable , clickless mute software r egister and h ardware p in s tandby mode 32- lead, 5 mm 5 mm lfcsp applications digital still camera s digital video camera s general description the adau1781 is a low power , 24- bit stereo audio codec . the low noise dac and adc support sample rates from 8 khz to 96 khz. low current draw and power saving modes make the adau1781 ideal for battery - powered audio applications. a programmable sigmadsp ? core p rovides enhanced record and playback processing to improve overall audio quality. the record path includes two digital stereo microphone input s and a n analog stereo input path. the analog inputs can be configured for either a pseudo differential or a singl e- ended stereo source. a dedicated analog beep input signal can be mixed into any output path . the adau1781 includes a stereo line output and speaker drive r, which makes the device capable of supporting dynamic speakers. the serial control bus supports the i 2 c? or spi protocols, and the serial audio bus is programmable for i 2 s, left - justified, right - justified, or tdm mode . a programmable pll supports flexible clock generation for all standard rates and available master clocks from 11 mhz to 20 mhz. funct ional block diagram pga pga left adc right adc left dac right dac pga beep pdn micbias lmic/lmicn/ micd1 lmicp rmic/rmicn/ micd2 rmicp aoutl aoutr spp spn pll sigmadsp core wind noise notch filter equalizer digital volume control dynamic processing output mixer mcki regulator cm iovdd dgnd dvddout avdd1 agnd1 avdd2 agnd2 serial data input/output ports adc_sdata/ gpio1 bclk/gpio2 lrclk/gpio3 dac_sdata/ gpio0 i 2 c/spi control port addr0/cdata addr1/clatch scl/cclk sda/cout adau1781 microphone bias 08314-001 figure 1.
adau1781* product page quick links last content update: 02/23/2017 comparable parts view a parametric search of comparable parts. evaluation kits ? adau1781 evaluation board ? adusb2ebz evaluation board documentation application notes ? an-1006: using the eval-adusb2ebz ? an-951: using hardware controls with sigmadsp gpio pins data sheet ? adau1781: low noise stereo codec with sigmadsp processing core user guides ? ug-177: evaluating the adau1781 sigmadsp using the EVAL-ADAU1781Z software and systems requirements ? adau1781 sound codec linux driver ? firmware loader for sigmadsps tools and simulations ? sigmadsp processors: software and tools design resources ? adau1781 material declaration ? pcn-pdn information ? quality and reliability ? symbols and footprints discussions view all adau1781 engineerzone discussions. sample and buy visit the product page to see pricing options. technical support submit a technical question or find your regional support number. document feedback submit feedback for this data sheet. this page is dynamically generated by analog devices, inc., and inserted into this data sheet. a dynamic change to the content on this page will not trigger a change to either the revision number or the content of the product data sheet. this dynamic page may be frequently modified.
adau1781 rev. b | page 2 of 92 table of contents features .............................................................................................. 1 applications ....................................................................................... 1 general description ......................................................................... 1 functional block diagram .............................................................. 1 revision history ............................................................................... 3 specifications ..................................................................................... 4 record side performance specifications ................................... 4 output side performance specificat ions ................................... 6 power supply specifications ........................................................ 8 typical power management measurements ............................. 9 digital filters ................................................................................. 9 digital input/output specifications ......................................... 10 digital timing specifications ................................................... 11 absolute maximum ratings .......................................................... 14 thermal resistance .................................................................... 14 esd caution ................................................................................ 14 pin configuration and function descriptions ........................... 15 typical performance characteristics ........................................... 17 sy stem block diagrams ................................................................. 20 theory of operation ...................................................................... 24 startup, initialization, and power ................................................. 25 power - up sequence ................................................................... 25 clock generation and management ........................................ 26 enabling digital power to functional subsystems ................ 26 setting up the sigmadsp core ................................................ 26 power reduction modes ............................................................ 26 power - do wn sequence .............................................................. 26 clocking and sampling rates ....................................................... 27 core clock ................................................................................... 27 samp ling rates ............................................................................ 27 pll ................................................................................................ 28 record signal path .......................................................................... 30 input signal path ........................................................................ 30 analog - to - digital converters ................................................... 31 playback signal path ...................................................................... 32 output s ignal paths ................................................................... 32 digital - to - analog converters ................................................... 32 line outputs ............................................................................... 32 s peaker output ........................................................................... 32 control ports ................................................................................... 33 i 2 c port ........................................................................................ 33 spi port ........................................................................................ 36 memory and register access .................................................... 36 serial data input/output ports .................................................... 38 tdm mo des ................................................................................ 38 general - purpose input/outputs .................................................. 40 dsp core ......................................................................................... 41 signal proce ssing ........................................................................ 41 architecture ................................................................................ 41 program counter ....................................................................... 41 features ........................................................................................ 41 numeric formats ....................................................................... 42 programming .............................................................................. 42 program ram, parameter ram, and data r am ..................... 44 program ram ............................................................................ 44 parameter ram .......................................................................... 44 data ram ................................................................................... 44 read/write data formats ......................................................... 44 software safeload ....................................................................... 45 software slew .............................................................................. 46 applications information .............................................................. 47 power supply bypass capacitors .............................................. 47 gsm noise filte r ........................................................................ 47 grounding ................................................................................... 47
adau1781 rev. b | page 3 of 92 speaker driver supply trace (avdd2) ................................... 47 exposed pad pcb design .......................................................... 47 control register map ..................................................................... 48 clock management, internal regulator, and pll control .... 49 record path configuration ........................................................ 53 serial port configuration ........................................................... 58 audio converter configuration ............................................... 63 playback path configuration .................................................... 68 pad configuration ...................................................................... 75 digital subsy stem configuration ............................................. 82 outline dimensions ........................................................................ 89 ordering guide ........................................................................... 89 revision history 1/11 rev. a to rev. b changes to table 10 ........................................................................ 15 changes to power - down pin (pdn) section ............................ 26 changes to table 23 ........................................................................ 36 3/ 10 rev . 0 to rev. a changes to output side performance specifications section condition statement ..................................................................... 6 added endnote 1 to table 3 ............................................................. 8 changes to figure 2 3 ...................................................................... 21 chang es to figure 2 4 ...................................................................... 22 changes to figure 2 5 ...................................................................... 23 changes to table 33 ........................................................................ 48 added register 16434 (0x4032), dejitter control section ........ 81 changes to ordering guide ........................................................... 89 12 /09 revision 0 : initial version
adau1781 rev. b | page 4 of 92 specifications performance of all channels is identical, exclusive of the interchannel gain mismatch and interchannel phase deviation specifications. supply voltages av dd = a vdd 1 = avdd2 = i /o supply = 3.3 v, digital supply = 1.5 v, unless oth erwise noted; temperature = 25 c; master clock (mclk) = 12.288 mhz ( f s = 48 khz , 256 f s mode); input sample rate = 48 khz; measurement bandwidth = 20 hz to 20 khz; word width = 24 bits; load capacitance (digital output) = 20 pf; load current (digital output) = 2 ma; high level input voltage = 0.7 iovdd ; and low level input volta ge = 0.3 iovdd . all power management registers are set to their default states. record side performance specific ations specificatio ns guaranteed at 25c (ambient). table 1 . parameter test conditions/comments min typ max unit an alog - to - digital converters adc resolution all adcs 24 bits digital attenuation step 0.375 db digital attenuation range 95 db input resistance noni nverting inputs pga (lmicp, rmicp) all gain settings 500 k? inverting inputs pga (l micn, rmicn) 0 db gain 62 k? 6 db gain 32 k? 10 db gain 22 k? 14 db gain 14 k? 17 db gain 10 k? 20 db gain 8 k? 26 db gain 5 k? 32 db gain 4 k? beep input pga 0 db 20 k? 6 db 9 k? 10 db 6 k? 14 db 3.5 k? ? 23 db 50 k? 20 db 2 k? 26 db 2 k? 32 db 2 k? single - ended mic rophone input to adc path full - scale input voltage (0 db) scales linearly with avdd avdd/3.3 v rms avdd = 1.8 v 0.55 (1.56) v rms (v p - p) avdd = 3.3 v 1.0 (2.83) v r ms (v p - p) dynamic range ?60 db input with a - weighted filter (rms) avdd = 1.8 v 96 db avdd = 3.3 v 94 99.2 db no filter (rms) avdd = 1.8 v 92 db avdd = 3.3 v 92 96.5 db total harmonic distortion + noise ?3 dbfs avdd = 1.8 v ? 88 db avdd = 3.3 v ? 90 db signal -to - noise ratio with a - weighted filter (rms) avdd = 1.8 v 96 db avdd = 3.3 v 100 db no filter (rms) avdd = 1.8 v 92 db avdd = 3.3 v 97 db
adau1781 rev. b | page 5 of 92 parameter test conditions/comments min typ max unit left/right microphone pga gain range avdd = 3.3 v 0 32 db left/ r ight microphone pga mute attenuation avdd = 3.3 v ; mute set by register 0x400e, bit 1, and register 0x400f, bit 1 ? 98 db interchannel gain mismatch avdd = 3.3 v 50 m db offset error avdd = 3.3 v 0.25 mv gain error avdd = 3.3 v ?1 % interchannel isolation avdd = 3.3 v ? 98 db power supply rejection ratio cm capacitor = 1 0 f avdd = 3.3 v, 100 mv p -p at 217 hz ? 55 db avdd = 3.3 v, 100 mv p -p at 1 khz ? 55 db differential mic rophone input to adc path full - scale input voltage (0 db) scales linearly with avdd avdd/3.3 v rms avdd = 1.8 v 0.55 (1.56) v rms (v p - p) avdd = 3.3 v 1.0 (2.83) v rms (v p - p) dynamic range ?60 db input with a - weighted filter (rms) avdd = 1.8 v 96 db avdd = 3.3 v 94 99.2 db no filter (r ms) avdd = 1.8 v 92 db avdd = 3.3 v 92 96.5 db total harmonic distortion + noise ?3 dbfs avdd = 1.8 v ? 84 db avdd = 3.3 v ? 85 db signal -to - noise ratio with a - weighted filter (rms) avdd = 1.8 v 96 db avdd = 3.3 v 100 db no fi lter (rms) avdd = 1.8 v 92 db avdd = 3.3 v 97 db left/ right microphone pga mute attenuation avdd = 3.3 v ; mute set by register 0x400e, bit 1, and register 0x400f, bit 1 ? 98 db interchannel gain mismatch avdd = 3.3 v 50 m db offset error avdd = 3.3 v 0.25 mv gain error avdd = 3.3 v ?1 % interchannel isolation avdd = 3.3 v ? 85 db common - mode rejection ratio avdd = 3.3 v, 100 mv rms, 1 khz ? 60 db avdd = 3.3 v, 100 mv rms, 20 khz ? 45 db beep to line out put path full - scale input voltage (0 db) scales linearly with avdd avdd/3.3 v rms avdd = 1.8 v 0.55 (1.56) v rms (v p - p) avdd = 3.3 v 1.0 (2.83) v rms (v p - p) total harmonic distortion + noise ?3 dbfs input, measured at aout l pin, beep gain set to 0 db avdd = 1.8 v ? 88 db avdd = 3.3 v ? 88 db signal -to - noise ratio with a - weighted filter (rms) avdd = 1.8 v 99 db avdd = 3.3 v 105 db no filter (rms) avdd = 1.8 v 96 db avdd = 3.3 v 102 db
adau1781 rev. b | page 6 of 92 parameter test conditions/comments min typ max unit dynamic range ?60 db input with a - weighted filter (rms) avdd = 1.8 v 99 db avdd = 3.3 v 105 db no filter (rms) avdd = 1.8 v 96 db avdd = 3.3 v 102 db beep input mute attenuation avdd = 3.3 v ; mute set by register 0x4008, bit 3 ? 90 db offset error avdd = 3.3 v 10 mv gain error avdd = 3.3 v ? 0.3 db interchannel gain mismatch 30 mdb beep input pga gain range avdd = 3.3 v ? 23 + 32 db beep playback mixer gain range avdd = 3.3 v ? 15 +6 db power supply rejection ratio cm capacitor = 1 0 f avdd = 3.3 v , 100 mv p -p at 217 hz ? 58 db avdd = 3.3 v, 100 mv p -p at 1 khz ? 72 db microphone bias mic rophone bias enabled bias voltage 0.65 avdd avdd = 1.8 v, low bias 1.17 v avdd = 3.3 v, low bias 2.145 v 0.90 avdd avdd = 1.8 v, high bias 1.62 v avdd = 3.3 v, high bias 2.97 v bias current source avdd = 3.3 v, high bias , high performance 5 ma noise in the signal bandwidth avdd = 3.3 v, 20 hz to 20 khz high bias , high performance 39 nv hz high bias , low performance 78 nv hz low bias , hi gh performance 25 nv hz low bias , low performance 35 nv hz avdd = 1.8 v, 20 hz to 20 khz high bias , high performance 35 nv hz high bias , low performance 45 nv hz low bias , high performance 23 nv hz low bias , low performance 23 nv hz output side performance specific ations specification s guaranteed at 25c (ambient). the output load for the speaker output path is an 8 ?, 400 mw speaker. table 2 . parameter test conditions/comments min typ max unit digital - to - analog converters dac resolution all dacs 24 bits digital attenuation step 0.375 db digital attenuation range 95 db dac to line output path full - scale output voltage (0 db) scales linearly with avdd avdd/3.3 v rms av dd = 1.8 v 0.55 (1.56) v rms (v p - p) avdd = 3.3 v 1.0 (2.83) v rms (v p - p) line output mute attenuation , dac to mixer path muted avdd = 3.3 v ; mute set by register 0x401c, bit 5, and register 0x401e, bit 6 ? 85 db line output mute attenuation , line output muted avdd = 3.3 v ; mute set by register 0x4025 , bit 1, and register 0x4026 , bit 1 ? 85 db
adau1781 rev. b | page 7 of 92 parameter test conditions/comments min typ max unit dynamic range ?60 db input with a - weighted filter (rms) avdd = 1.8 v 99 db avdd = 3.3 v 94 103 db no filter (rms) avdd = 1.8 v 97 db avdd = 3.3 v 92 100 db total harmonic distortion + noise ?3 dbfs db avdd = 1.8 v ? 88 db avdd = 3.3 v ? 88 db signal -to - noise ratio with a - weighted filter (rms) avdd = 1.8 v 99 db avdd = 3.3 v 103 db no filter (rms) avdd = 1.8 v 97 db avdd = 3.3 v 100 db power supply rejection ratio cm capacitor = 1 0 f avdd = 3.3 v, 100 mv p -p at 217 hz ? 55 db avdd = 3.3 v, 100 mv p -p at 1 khz ? 63 db gain error avdd = 3.3 v ?1 db interchan nel gain mismatch avdd = 3.3 v 50 m db offset error avdd = 3.3 v 10 mv dac to speaker output path p o = output power differential full - scale output voltage (0 db) scales linearly with avdd avdd/ 1.65 v rms avdd = 1.8 v 1.1 ( 3.12 ) v rms (v p -p) avdd = 3.3 v 2 .0 ( 5.66 ) v rms (v p - p) total harmonic distortion + noise 4 ? l oad av dd = 1.8 v, p o = 50 mw ? 60 db avdd = 3.3 v, p o = 175 mw ? 60 db 8 ? l oad av dd = 1.8 v, p o = 50 mw ? 60 db avdd = 3.3 v, p o = 1 75 mw ? 60 db avdd = 3.3 v, p o = 330 mw ? 60 db avdd = 3.3 v, p o = 440 mw ? 16 db dynamic range ?60 db input with a - weighted filter (rms) avdd = 1.8 v 100 db avdd = 3.3 v 94 105 db no filter (rms) avdd = 1.8 v 98 db avdd = 3.3 v 92 103 db signal -to - noise ratio with a - weighted filter (rms) avdd = 1.8 v 100 db avdd = 3.3 v 105 db no filter (rms) avdd = 1.8 v 98 db avdd = 3.3 v 103 db power supply rejection ratio cm capacitor = 1 0 f avdd = 3.3 v,100 mv p -p at 217 hz ? 55 db avdd = 3.3 v, 100 mv p -p at 1 khz ? 55 db differential offset error avdd = 3.3 v 2 mv mono mixer mute attenuation , dac to mixer path muted mute set by register 0x401f, bit 0 ? 90 db beep to sp eaker output path p o = output power differential full - scale output voltage (0 db) scales linearly with avdd avdd/ 1.65 v rms avdd = 1.8 v 1.1 ( 3.12 ) v rms (v p - p) avdd = 3.3 v 2 .0 ( 5.66 ) v rms (v p - p)
adau1781 rev. b | page 8 of 92 parameter test conditions/comments min typ max unit total harmonic distortion + noise 8 ? , 1 nf load, avdd = 1.8 v, p o = 50 mw ? 60 db avdd = 3.3 v, p o = 1 75 mw ? 60 db dynamic range ?60 db input with a - weighted filter (rms) avdd = 1.8 v 97 db avdd = 3.3 v 103 db no filter (rms) avdd = 1.8 v 94 db avdd = 3.3 v 100 db signal -to - noise ratio with a - weighted filter (rms) avdd = 1.8 v 98 db avdd = 3.3 v 103 db no filter (rms) avdd = 1.8 v 96 db avdd = 3.3 v 101 db power supply rejection ratio cm capacitor = 1 0 f 100 mv p -p at 217 hz ? 57 db 10 0 mv p -p at 1 khz ? 60 db differential offset error 2 mv mono mixer mute attenuation , beep to mixer path muted mute set by register 0x401f, bit 0 ? 90 db reference (cm pin ) common - mode reference output avdd/2 v power supply specifi catio ns av dd1 and av dd2 must always be equal. power supply measurements are taken with the sigmadsp processing core enabled. table 3 . parameter test conditions/comments min typ max unit avdd1, avdd2 1.8 1 3.3 3.65 v iovdd 1.63 3.3 3 .65 v digital i/o current (iovdd = 3.3 v) 20 pf capacitive load on all digital pins slave mode, analog i/o , 12.288 mhz external mclk input f s = 48 khz 0.20 ma f s = 96 khz 0.35 ma f s = 8 khz 0.04 ma master mode , mcko disabled f s = 48 khz 1 .25 ma f s = 96 khz 2.50 ma f s = 8 khz 0.22 ma digital i/o current (iovdd = 1.8 v) 20 pf capacitive load on all digital pins slave mode, analog i/o , 12.288 mhz external mclk input f s = 48 khz 0.10 ma f s = 96 khz 0.18 ma f s = 8 khz 0.02 ma master mode , mcko disabled f s = 48 khz 0.68 ma f s = 96 khz 1.33 ma f s = 8 khz 0.12 ma analog current (avdd) see table 4 1 the zero - cross detection of the beep path is not supported at avdd1, avdd2 < 2.2 v.
adau1781 rev. b | page 9 of 92 typical power manage ment measurements master clock = 12.288 mhz, pll is active in integer mode at a 256 f s input rate for f s = 48 khz, analog and digital input tone s are ?1 dbfs with a frequency of 1 khz. analog input and output are simultaneously active. pseudo differential stereo input is routed to adcs, and dacs are r outed to stereo line output with a 1 6 k load. adc input at ?1 dbfs, dac input at 0 dbfs. the speaker output is disabled. the serial port is configured in slave mode . the beep path is disabled. sigmadsp processing is enabled. current measurements are given in units of ma rms. table 4 . mixer boost and power management conditions operating voltage power management mode 1 mixer boost mode 2 typical avdd current consumption (ma) typical adc thd + n (db) typical line output thd + n (db) avdd = iovdd = 3.3 v normal (default) normal operation 16.84 88.5 93.0 boost level 1 16.88 88.5 93.0 boost level 2 16.92 88.5 93.0 boost level 3 17.00 88.5 93.0 extreme power saving normal operation 15.66 88.0 87.5 boost level 1 15.68 88.0 87 .5 boost level 2 15.70 88.0 87.5 boost level 3 15.75 88.0 87.5 enhanced performance normal operation 17.43 88.5 94.5 boost level 1 17.50 88.5 94.5 boost level 2 17.53 88.5 94.5 boost level 3 17.63 88.5 94.5 power saving normal operation 16.25 89.0 90.5 boost level 1 16.28 89.0 90.5 boost level 2 16.31 89.0 90.5 boost level 3 16.38 89.0 90.5 avdd = iovdd = 1.8 v normal (default) normal operation 15.15 88.5 89.5 boost level 1 15.19 88.5 89.5 boost level 2 15.23 88.5 89.5 boost level 3 15.30 88.5 89.5 extreme power saving normal operation 14.03 86.5 85.5 boost level 1 14.05 86.5 85.5 boost level 2 14.07 86.5 85.5 boost level 3 14.12 86.5 85.5 enhanced performance normal operation 15.71 88.5 90.5 boost level 1 15.76 88.5 90.5 boost level 2 15.81 88.5 90.5 boost level 3 15.89 88.5 90.5 power saving normal operation 14.59 88.0 88.0 boost level 1 14.62 88.0 88.0 boost level 2 14.65 88.0 88.0 boost level 3 14.71 88.0 88.0 1 set by register 0x4009, bits[4:1], and register 0x4029, bits[5 :2] . 2 set by register 0x4009, bits[6:5]. digital filters table 5 . parameter mode factor min typ max unit adc decimation filter all modes, typ value is for 48 khz pass band 0.4375 f s 21 khz pass - band ripple 0.015 db transition band 0.5 f s 24 khz stop band 0.5625 f s 27 khz stop - band attenuation 70 db group delay 22.9844/ f s 479 s
adau1781 rev. b | page 10 of 92 parameter mode factor min typ max unit dac interpolation filter pass band 48 khz mode, typ value is for 48 khz 0.4535 f s 22 khz 96 khz mode, typ value is for 96 khz 0.3646 f s 35 69 khz pass - band ripple 48 khz mode, typ value is for 48 khz 0.01 db 96 khz mode, typ value is for 96 khz 0.05 db transition band 48 khz mode, typ value is for 48 khz 0.5 f s 24 khz 96 khz mode, typ value is for 96 khz 0.5 f s 48 khz stop band 48 khz mode, ty p value is for 48 khz 0.5465 f s 26 khz 96 khz mode, typ value is for 96 khz 0.6354 f s 61 khz stop - band attenuation 48 khz mode, typ value is for 48 khz 70 db 96 khz mode, typ value is for 96 khz 70 db group delay 48 khz mode, typ value is for 48 khz 25/f s 521 s 96 khz mode, typ value is for 96 khz 11/f s 115 s digital input/output specifications ?25 c < t a < +85c, io vdd = 1.62 v to 3.63 v, unless otherwise specified. table 6 . parameter conditions/comme nts min typ max unit high level input voltage (v ih ) 0.7 iovdd v low level input voltage (v il ) iovdd 2.97 v 0.3 iovdd v 1.8 v iovdd 2.97 v 0.2 iovdd v iovdd < 1.8 v 0.1 iovdd v input leakage i ih at v ih = 2.4 v 0.17 a i il at v il = 0.8 v 0.17 a i il of mcki ?7 a i ih with internal pull -up 0.7 a i il with internal pull - down ?7 a i ih with internal pull -up 5 a i il with internal pull - down 0.18 a high level output voltage (v oh ) for low drive strength , i oh = 2 ma and i ol = 2 ma at iovdd = 3.3 v, i oh = 0.6 ma and i ol = 0.6 ma at iovdd = 1.8 v; for high drive strength, i oh = 3 ma and i ol = 3 ma at iovdd = 3.3 v, i oh = 0.9 ma and i o l = 0.9 ma at iovdd = 1.8 v iovdd ? 0.4 v low level output voltage (v ol ) for low drive strength, i oh = 2 ma and i ol = 2 ma at iovdd = 3.3 v, i oh = 0.6 ma and i ol = 0.6 ma at iovdd = 1.8 v; for high drive strength, i oh = 3 ma and i ol = 3 ma at iovdd = 3.3 v, i oh = 0.9 ma and i ol = 0.9 ma at iovdd = 1.8 v 0.4 v input capaci tance 5 pf
adau1781 rev. b | page 11 of 92 digital timing speci fications ?25 c < t a < +85c, iovdd = 1.62 v to 3.63 v, unless otherwise specified. table 7 . digital timing limit parameter t min t max unit description master clock t mp 50 90.9 ns master clock ( mclk ) period (that is, period of the si gnal input to mcki ). duty cycle 30 70 % serial port t bil 10 ns bclk pulse width low. t bih 10 ns bclk pulse width high. t lis 5 ns lrclk setup. time to bclk rising. t lih 5 ns lrclk hold. time from bclk rising. t sis 5 ns dac_sdata setup. time to bclk rising. t sih 5 ns dac_sdata hold. time from bclk rising. t sodm 70 ns adc_sdata delay. time from bclk falling in master mode. spi port f cclk ,r 5 mhz cclk frequency, read operation , iovdd = 1.8 v 10%. f cclk,r 10 mhz cclk frequency, re ad operation , iovdd = 3.3 v 10%. f cclk,w 25 mhz cclk frequency, write operation , iovdd = 1.8 v 10%. f cclk,w 25 mhz cclk frequency, write operation , iovdd = 3.3 v 10%. t ccpl 10 ns cclk pulse width low. t ccph 10 ns cclk pulse width high. t cls 10 ns clatch setup. time to cclk rising. t clh 5 ns clatch hold. time from cclk rising. t clph 10 ns clatch pulse width high. t cds 5 ns cdata setup. time to cclk rising. t cdh 5 ns cdata hold. time from cclk rising. t cod 70 cout delay from cclk edge to valid data, iovdd = 1.8 v 10%. 40 ns cout delay from cclk edge to valid data, iovdd = 3.3 v 10%. i 2 c port f scl 400 khz scl frequency. t sclh 0.6 s scl high. t scll 1.3 s scl l ow. t scs 0.6 s setup time; relevant for repeated start condition. t sch 0.6 s hold time. after this period, the first clock is generated. t ds 100 ns data setup time. t scr 300 ns scl rise time. t scf 300 ns scl fall time. t sdr 300 ns sda rise ti me. t sdf 300 ns sda fall time. t bft 0.6 s bus - free time. time between stop and start. digital microphone r l = 1 m ? , c l = 14 pf. t dcf 10 ns digital microphone clock fall time. t dcr 10 ns digital microphone clock rise time. t ddv 22 30 ns digita l microphone delay time for valid data. t ddh 0 12 ns digital microphone delay time for data three - stated.
adau1781 rev. b | page 12 of 92 digital timing diagrams bclk lrclk dac_sdata left-justified mode lsb dac_sdata i 2 s mode dac_sdata right-justified mode t bih msb msb ? 1 msb msb 8-bit clocks (24-bit data) 12-bit clocks (20-bit data) 14-bit clocks (18-bit data) 16-bit clocks (16-bit data) t lis t sis t sih t sih t sis t sis t sih t sis t sih t lih t bil 08314-002 figure 2 . serial input port timing bclk lrclk adc_sdata left-justified mode lsb adc_sdata i 2 s mode adc_sdata right-justified mode t bih msb msb ? 1 msb msb 8-bit clocks (24-bit data) 12-bit clocks (20-bit data) 14-bit clocks (18-bit data) 16-bit clocks (16-bit data) t sodm t bil t sodm t sodm 08314-003 figure 3 . serial output port timing
adau1781 rev. b | page 13 of 92 cl a tch cclk cd at a co ut t cls t cds t cdh t cod t ccph t ccp l t clh t clph 08314-004 figure 4 . spi port timing t sch t sclh t scr t sdr t scll t ds t sdf sda scl t sch t bft t scf t scs 08314-005 figure 5. i 2 c port timing t dcf t ddv t ddv t ddh t ddh clk data1/ data2 data1 data1 data2 data2 t dcr 08314-106 figure 6 . digital microphone timing
adau1781 rev. b | page 14 of 92 absolute maximum rat ings table 8 . parameter rating po wer supply ( avdd1 = avdd2 ) ?0.3 v to +3. 9 v input current (except supply pins) 20 ma analog input voltage (signal pins) C 0.3 v to vdd + 0.3 v digital input voltage (signal pins) ?0.3 v to vdd + 0.3 v operating temperature range (case) ? 25 c to +85c storage temperature range ?65c to +150c stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only; functional operation of the device at these or any other conditions above those i ndicated in the operational section of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. thermal resistance in table 9 , ja is th e junction - to - ambient thermal resistance , jb is the junction - to - board thermal resistance, jc is the junction - to - case thermal resistance , jb is the in - use junction - to - top of package ther - mal resistance, and jt is the in - use junction - to - board thermal res istance . all characteristics are for a 4 - layer board. table 9 . thermal resistance package type ja jb jc jb jt unit 32- lead lfcsp 35 19 2.5 18 0.3 c/w esd caution
adau1781 rev. b | page 15 of 92 pin configuration and function descriptions sda/cout addr0/cdata addr1/clatch iovdd dac_sdata/gpio0 adc_sdata/gpio1 bclk/gpio2 lrclk/gpio3 micbias beep lmic/lmicn/micd1 lmicp rmicp rmic/rmicn/micd2 aoutl aoutr pin 1 indicator 1 cm 2 pdn 3 agnd1 4 avdd1 5 dvddout 6 dgnd 7 gpio 8 scl/cclk 24 nc 23 agnd2 22 spp 21 nc 20 spn 19 avdd2 18 mcko 17 mcki 9 10 11 12 13 14 15 16 32 31 30 29 28 27 26 25 top view (not to scale) adau1781 notes 1. nc = no connect. 2. the exposed pad is connected internally to the adau1781 grounds. for increased reliability of the solder joints and maximum thermal capability, it is recommended that the pad be soldered to the ground plane. 08314-007 figure 7 . 32 - lead lfcsp pin configuration table 10 . pin function descriptions pin no. mnemonic type 1 description 1 cm a_out vdd/2 v common - mode reference. a 10 f to 47 f decoupling capacitor should be connect ed between this pin and ground to reduce crosstalk between the adcs and dacs. the material of the capacitors is not critical. this pin can be used to bias external analog circuits, as long as they are not drawing current from cm (for example, the noninvert ing input of an op amp). 2 pdn a_in power - down. connecting this pin to gnd powers down the chip. resides in avdd1 domain. 3 agnd1 pwr analog ground. 4 avdd1 pwr analog power supply. should be equivalent to avdd2. 5 dvddout pwr digita l core supply decoupling point. the digital supply is generated from an on - board regulator and does not require an external supply. dvddout should be decoupled to dgnd with a 100 nf capacitor. 6 dgnd pwr digital ground. 7 gpio d_io dedicated general - purp ose input/output. 8 scl/cclk d_in i 2 c clock/spi clock. 9 sda/cout d_io i 2 c data/spi data output. 10 addr0/cdata d_in i 2 c address 0/spi data input. 11 addr1/ clatch d_in i 2 c address 1/spi latch signal. 12 iovdd pwr supply for digital input and output pins. the digital output pins are supplied from iovdd, which sets the highest allowed input voltage for the digital input pins. the current draw of this pin is variable because it is dependent on the loads of the digital outputs. iovdd sh ould be decoupled to dgnd with a 100 nf capacitor. 13 dac_sdata/gpio0 d_io dac serial input data/general - purpose input and output. 14 adc_sdata/gpio1 d_io adc serial output data/general - purpose input and output. 15 bclk/gpio2 d_io serial data port bit c lock/general - purpose input and output. 16 lrclk/gpio3 d_io serial data port frame clock/general - purpose input and output. 17 mcki d_in master clock input.
adau1781 rev. b | page 16 of 92 pin no. mnemonic type 1 description 18 mcko d_out master clock output. 19 avdd2 pwr analog power supply. should be equivalent to avdd 1. 20 spn a_out speaker amplifier negative signal output. 21 nc no connect. 22 spp a_out speaker amplifier positive signal output. 23 agnd2 pwr speaker amplifier ground. 24 nc no connect. 25 aoutr a_out line output amplifier, right channel. 26 aou tl a_out line output amplifier, left channel. 27 rmic/rmicn/micd2 a_in right channel input from single - ended source/right channel input from negative pseudo differential source/digital microphone input 2. 28 rmicp a_in right channel input from positive p seudo differential source. 29 lmicp a_in left channel input from positive pseudo differential source. 30 lmic/lmicn/micd1 a_in left channel input from single - ended source/left channel input from negative pseudo differential source/digital microphone inpu t 1. 31 beep a_in beep signal input. 32 micbias pwr microphone bias. therm_pad (exposed pad) exposed pad. the exposed pad is connected internally to the adau1 781 grounds. for increased reliability of the solder joints and maximum thermal capability, i t is recommended that the pad be soldered to the ground plane. 1 a_out = analog output, a_in = analog input, pwr = power, d_io = digital input/output, d_out = digital output, and d_in = digital input.
adau1781 rev. b | page 17 of 92 typical performance characteristics 0 ?100 ?90 ?80 ?70 ?60 ?50 ?40 ?30 ?20 ?10 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 magnitude (dbfs) frequency (normalized to f s ) 08314-009 figure 8 . adc decimation filter, 64 oversampling, normalized to f s 0.04 0.02 0 ?0.02 ?0.04 ?0.06 0.40 0.35 0.30 0.25 0.20 0.15 0.10 0.05 0 magnitude (dbfs) frequency (normalized to f s ) 08314-010 figure 9 . adc decimation filter pass - band ripple, 64 oversampling, normalized to f s 0 ?100 ?90 ?80 ?70 ?60 ?50 ?40 ?30 ?20 ?10 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 magnitude (dbfs) frequency (normalized to f s ) 08314-011 figure 10 . adc decimation filter, 128 oversampling, normalized to f s 0.10 ?0.10 ?0.08 ?0.06 ?0.04 ?0.02 0 0.02 0.04 0.06 0.08 0 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50 magnitude (dbfs) frequency (normalized to f s ) 08314-012 figure 11 . adc decimation filter pass - band ripple, 128 oversampling, normalized to f s 0 ?100 ?90 ?80 ?70 ?60 ?50 ?40 ?30 ?20 ?10 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 magnitude (dbfs) frequency (normalized to f s ) 08314-013 figure 12 . adc decimation filter, double - rate mode, normalized to f s 0.04 0.02 0 ?0.02 ?0.04 ?0.06 0.40 0.35 0.30 0.25 0.20 0.15 0.10 0.05 0 magnitude (dbfs) frequency (normalized to f s ) 08314-014 figure 13 . adc decimation filter pass - band ripple, double - rate mode, normalized to f s
adau1781 rev. b | page 18 of 92 0 ?100 ?90 ?80 ?70 ?60 ?50 ?40 ?30 ?20 ?10 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 magnitude (dbfs) frequency (normalized to f s ) 08314-015 figure 14 . dac interpolation filter, 64 oversampling, normalized to f s 0.20 ?0.20 ?0.15 ?0.10 ?0.05 0 0.05 0.10 0.15 0 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 magnitude (dbfs) frequency (normalized to f s ) 08314-016 figure 15 . dac interpolation filter pass - band ripple, 64 oversampling, normalized to f s 0 ?100 ?90 ?80 ?70 ?60 ?50 ?40 ?30 ?20 ?10 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 magnitude (dbfs) frequency (normalized to f s ) 08314-017 figure 16 . dac interpolation filter, 128 oversampling, normalized to f s 0.05 ?0.05 ?0.04 ?0.03 ?0.02 ?0.01 0 0.01 0.02 0.03 0.04 0 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50 magnitude (dbfs) frequency (normalized to f s ) 08314-018 figure 17 . dac interpolation filter pass - band ripple, 128 oversampling, normalized to f s 0 ?100 ?90 ?80 ?70 ?60 ?50 ?40 ?30 ?20 ?10 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 magnitude (dbfs) frequency (normalized to f s ) 08314-019 figure 18 . dac interpolation filter, double - rate mode, normalize d to f s 0.20 ?0.20 ?0.15 ?0.10 ?0.05 0 0.05 0.10 0.15 0 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 magnitude (dbfs) frequency (normalized to f s ) 08314-020 figure 19 . dac interpolation filter pass - band ripple, double - rate mode, normalized to f s
adau1781 rev. b | page 19 of 92 0 ?100 ?90 ?80 ?70 ?60 ?50 ?40 ?30 ?20 ?10 600 100 10 1 thd + n (db) speaker output power (mw) 08314-121 figure 20 . thd + n vs. speaker output power , 8 load, 3.3 v supply 0 ?100 ?80 ?60 ?40 ?20 100 10 1 thd + n (db) speaker output power (mw) 08314-122 figure 21 . thd + n vs. speaker output power , 8 load, 1.8 v supply
adau1781 rev. b | page 20 of 92 system block diagram s aoutl cm 10k? 10k? 10? 220f + left_out 100pf 10k? 10k? 10? 220f + right_out aoutr 100nf 10f + 10k? 10k? ? + lmic/lmicn/micd1 lmicp 49.9k ? 10f 49.9k ? 10f differential input (left) spn spp rmic/rmicn/micd2 rmicp 49.9k ? 10f 49.9k ? 10f differential input (right) b eep 10f external beep input mcki 49.9 ? 2.2pf external mclk source mcko mcko 49.9 ? pdn pdn micbias micbias 0.1f iovdd 0.1f 10f + iovdd avdd1 0.1f 10f + avdd1 dvddout 0.1f 10f + avdd2 0.1f 47f + avdd2 8 ? speaker out dac_sdata/gpio0 adc_sdata/gpio1 bclk/gpio2 lrclk/gpio3 serial data addr1/clatch addr0/cdata sda/cout scl/cclk system controller therm_pad (exposed pad) dgnd agnd1 agnd2 gpio gpio 100pf adau1781 stereo single-ended headphone output stereo headphone amplifier 08314-021 figure 22 . system block diagram with differential inputs
adau1781 rev. b | page 21 of 92 aoutl cm 10k? 10k? 10? 220f + left_out 100pf 10k? 10k? 10? 220f + right_out aoutr 100nf 10f + 10k? 10k? ? + spn spp beep 10f external beep input mcki 49.9 ? 2.2pf external mclk source mcko mcko 49.9 ? pdn pdn micbias micbias 0.1f iovdd 0.1f 10f + iovdd avdd1 0.1f 10f + avdd1 dvddout 0.1f 10f + avdd2 0.1f 47f + avdd2 8 ? speaker out dac_sdata/gpio0 adc_sdata/gpio1 bclk/gpio2 lrclk/gpio3 serial data addr1/clatch addr0/cdata sda/cout scl/cclk system controller therm_pad (exposed pad) dgnd agnd1 agnd2 gpio gpio 100pf adau1781 stereo single-ended headphone output stereo headphone amplifier lmic/lmicn/micd1 2k? 49.9k ? micbias 0.1f analog mic 1 10f rmic/rmicn/micd2 2k? 49.9k ? micbias 0.1f analog mic 2 10f 08314-022 lmicp rmicp cm cm cm figure 23 . system block diagram with analog microphon e inputs
adau1781 rev. b | page 22 of 92 aoutl cm 10k? 10k? 10? 220f + left_out 100pf 10k? 10k? 10? 220f + right_out aoutr 100nf 10f + 10k? 10k? ? + spn spp beep 10f external beep input mcki 49.9 ? 2.2pf external mclk source mcko mcko 49.9 ? pdn pdn micbias micbias 0.1f iovdd 0.1f 10f + iovdd avdd1 0.1f 10f + avdd1 dvddout 0.1f 10f + avdd2 0.1f 47f + avdd2 8 ? speaker out dac_sdata/gpio0 adc_sdata/gpio1 bclk/gpio2 lrclk/gpio3 serial data addr1/clatch addr0/cdata sda/cout scl/cclk system controller therm_pad (exposed pad) dgnd agnd1 agnd2 gpio gpio 100pf adau1781 stereo single-ended headphone output stereo headphone amplifier lmic/lmicn/micd1 lmicp rmicp single-ended stereo input 49.9k ? 10f 1k? 49.9k ? 10f 1k? rmic/rmicn/micd2 08314-023 cm cm cm figure 24 . system block diagram with single - ended stereo line inputs
adau1781 rev. b | page 23 of 92 1k? aoutl cm 10k? 10k? 10? 220f + left_out 100pf 10k? 10k? 10? 220f + right_out aoutr 100nf 10f + 10k? 10k? ? + spn spp beep 10f external beep input mcki 49.9 ? 2.2pf external mclk source mcko mcko 49.9 ? pdn pdn micbias micbias 0.1f iovdd 0.1f 10f + iovdd avdd1 0.1f 10f + avdd1 dvddout 0.1f 10f + avdd2 0.1f 47f + avdd2 8 ? speaker out dac_sdata/gpio0 adc_sdata/gpio1 bclk/gpio2 lrclk/gpio3 serial data addr1/clatch addr0/cdata sda/cout scl/cclk system controller therm_pad (exposed pad) dgnd agnd1 agnd2 gpio gpio 100pf adau1781 stereo single-ended headphone output stereo headphone amplifier lmic/lmicn/micd1 lmicp rmicp rmic/rmicn/micd2 stereo digital mic input 08314-024 bclk or mclko bclk figure 25 . system block diagram with stereo digital microphone inputs
adau1781 rev. b | page 24 of 92 theory of operation the adau1781 is a low power a udio codec with an integrated, programmable sigmadsp audio processing core . it is an all - in - one package that offers high quality audio, low power, small size, and many advance d features. the stereo adc and stereo dac each have a dynamic range (dnr) perform ance of at least 96.5 db and a total harmonic distortion plus noise (thd + n) performance of at least ?90 db. the serial data port is compatible with i 2 s, left - justified, right - justified, and tdm modes for interfacing to digital audio data. the operating v oltage range is 1. 8 v to 3.6 5 v, with an on - board regulator generating the internal digital supply voltage. the record path includes very flexible input configurations that can accept differential or single - ended analog microphone inputs as well as two ste reo digital microphone inputs. there is also a beep input pin (beep) dedicated to analog beep signals that are common in digital still camera applications. a microphone bias pin that can power electrets - type microphones is also available. each input signal has its own programmable gain amplifier (pga) for input volume adjustment. an automatic level control (alc) can be implemented in the sigmadsp audio processing core to maintain a constant input re cording vo lume. the adcs and dacs are high quality, 24 - bit - converters that operate at selectable 64 or 128 oversampling rates. the base sampling rate of the converters is set by the input clock rate and can be further scaled with the converter control register settings. the converters can operate at samplin g frequencies from 8 khz to 96 khz. the adcs and dacs also include very fine - step digital volume controls. the playback path allows input signals and dac outputs to be mixed into speaker and/or line outputs. the speaker driver is capable of driving 400 mw into an 8 ? load. the sigmadsp audio processing core can be programmed to enhance the audio quality and improve the end - user experience. t he f lexibility offered by the sigmadsp core allows this codec to be used for a wide variety of low power applications. signal pr ocessing blocks available for use in the sigmadsp core include the following: ? dynamics processing , including compressors, expanders, gates, and limiters ? chime, tone, and noise generators ? enhanced stereo capture (esc) ? wind noise detection and filtering ? ster eo spatialization ? dynamic bass ? loudness ? filtering, including crossover, equalization, and notch ? gpio controls ? mixers and multiplexers ? volume controls and mute the adau1781 can generate its internal clocks from a wide range of input clocks by using the on -b oard fractional pll. the pll accepts inputs from 11 mhz to 20 mhz. the adau1781 is provided in a small, 32 - lead, 5 mm 5 mm lead frame chip scale package ( lfcsp ) with an exposed bottom pad .
adau1781 rev. b | page 25 of 92 startup, i nitialization , and power this section details the p rocedure for setting up the adau1781 properly . figure 26 provides an overview of how to initialize the ic. start configure clock generation register 16384 (0x4000) and register 16386 (0x4002) supply power to avdd1/avdd2 pins simultaneously download program ram, parameter ram, and register contents initialization complete wait 14ms for power-on reset and initialization rom boot supply power to iovdd enable digital power to functional subsystems register 16512 (0x4080) and register 16513 (0x4081) wait for pll lock (2.4ms to 3.5ms) are avdd1 and avdd2 supplied separately? can avdd1 and avdd2 be simultaneously supplied? supply power to avdd2 supply power to avdd1 no yes yes no 08314-025 figure 26 . initialization sequence power - up sequence if av dd1 and av dd2 are fro m the same supply, they can power up simultaneously. if avdd1 and avdd2 are from separate supplies , the n av dd 1 should be powered up first. iovdd should be applied simultaneously with avdd1 , if possible. the adau1781 uses a power - on reset (por) circuit to r eset the registers upon power - up. the por monitors the dvddout pin and generates a reset signal whenever power is applied to the chip. during the reset, the adau1781 is set to the default values documented in the register map (see the control register map section). the po r is also used to prevent clicks and pops on the speaker driver output. the power - up sequencing and timing involved is described in figure 27 in this sectio n, and in figure 35 and figure 36 of the speaker output section . a self - boot rom initializes the memories after the por has comple ted. when the self - boot sequence is complete, the control registers are accessible via the i 2 c/spi control port and should then be configured as required for the application . typically, with a 10 f capacitor on avdd1, the power supply ramp - up, por, and se lf- boot combined take approximately 14 ms. avdd1 avdd2 dvddout power-up (internal signal) internal mclk (not to scale) iovdd input/output pins active 1.35v 1.5v 0.95v main supply enabled por active 1.5v main supply disabled 14ms high-z high-z por complete/self-boot initiates self-boot complete/memory is accessible por activates 08314-026 figure 27 . power - up and power - down sequence timing diagram
adau1781 rev. b | page 26 of 92 clock generation and management the adau1781 uses a flexible clocking scheme that enables the use of many different input cl ock rates. the pll can be bypassed or used, resulting in two different approaches to clock manage - ment. for more information about clocking schemes, pll configuration, and sampling rates, see the clocking and sampli ng rates section. case 1: pll is bypassed if the pll is bypassed, the core clock is derived directly from the master clock ( mclk ) input. the rate of this clock must be set properly in register 16384 (0x4000), clock control, bits[2:1], input master clock f requency . when the pll is bypassed, supported external clock rates are 256 f s , 512 f s , 768 f s , and 1024 f s , where f s is the base sampling rate. the core clock of the chip is off until register 16384 (0x4000), clock control, bit 0, core clock enable , is set to 1 . case 2: pll is used the core clock to the entire chip is off during the pll lock acquisition period. the user can poll the lock bit to determine when the pll has locked. after lock is acquired, the adau1781 can be started by setting register 16384 (0x4000), clock control, bit 0, core clock enable , to 1. this bit enables the core clock to all the internal functional blocks of the adau1781 . pll lock acquisition during the lock acquisition period, only register 16384 (0x4000), clock control, and register 16386 (0x4002), pll control, are accessible through the control port. reading from or writing to any other address is prohibited until register 16384 (0x4000), clock control, bit 0, core clock enable, and register 16386 (0x4002), pll control, bit 1, pll lock , are set to 1 . register 16386 (0x4002), pll control, is a 48 - bit register for which all bits must be written with a single continuous write to the control port. the pll lock time is dependent on the mclk rate. typical lock times are provided in table 11 . table 11 . pll lock time pll mode mclk frequency lock time (typical) fractional 12 mhz 3.0 ms integer 12.288 mhz 2.96 ms fractional 13 mhz 2.4 ms fractional 14.4 mhz 2.4 ms fr actional 19.2 mhz 2.98 ms fractional 19.68 mhz 2.98 ms fractional 19.8 mhz 2.98 ms enabling digital pow er to functional subsystems t o power subsystems in the device, they must be enabled using register 16512 (0x4080), digital power - down 0, and registe r 16513 (0x4081), digital power - down 1. the exact settings d epend on the application. however, to proceed with the initialization sequence and access the rams and registers of the adau1781 , register 16512 (0x4080), digital power - down 0, bit 6, memory contr oller, and bit 0, sigmadsp core , must be enabled. setting up the s igma dsp core after the pll has locked, the adau1781 is in an operational state, and the control port can be used to configure the sigmadsp core . for more information, see the dsp core section . power reduction mode s sections of the adau1781 chip can be turned on and off as needed to reduce power consumption. these include the adcs, the dacs, and the pll. in addition, some functions can be set in the r egisters to operate in power saving, normal, or enhanced performance operation. s ee the respective portions of the general - purpose input/outputs section for more information. each digital filter of the adcs and dac s can be set to a 64 or 128 (default) oversamplin g ratio . setting the oversampling ratio to 64 lower s power consumption with a minimal impact on performance. see the typical performance characteristics section a nd the typical power management measurements section for specifications and graphs of the filters. detailed information regarding individual power reduction control registers can be found in the control register map section of this document. power - down pin ( pdn the power - down pin provides a simple hardware - based method for initiating l ow power mode without requiring access via the control port. when the ) pdn pin is lowered to the same potential as ground , the internal digital regulator is disabled and the device cease s to function , with power consumption dropping to a very low level . the common - mode voltage sink s, and a ll internal memorie s and registers lose their contents. when the power - up sequence pdn pin is raised back to the same potential as avdd1, the device re initialize s in its default state, as described in the section. power - down sequence when powering down the device, the iovdd, avdd1, and avdd2 supplies should be disabled at the same time , if possible, but only after the analog and speaker outputs have been muted. if the supplies cannot be disabled simultaneously, the preferred sequence is iovdd first, avdd2 second, and avdd1 last.
adau1781 rev. b | page 27 of 92 clocking and sampling rates f /x input divide 1, 2, 3, 4 f (r + n/m) integer, numerator, denominator input master clock frequency 256 f s , 512 f s , 768 f s , 1024 f s mcki pll control clock control automatically set to 1024 f s when pll clock source selected adcs dacs f s / 0.5, 1, 1.5, 2, 3, 4, 6 sound engine frame rate sound engine f s / 0.5, 1, 1.5, 2, 3, 4, 6 converter sampling rate f s / 0.5, 1, 1.5, 2, 3, 4, 6 serial port sampling rate serial data input/output ports adc_sd at a/gpio1 bclk/gpio2 lrclk/gpio3 dac_sd at a/gpio0 core clock 08314-027 figure 28 . clock routing diagram core clock the core clock divider generates a core clock either from the pll or directly from mclk a nd can be set in register 16384 (0x4000), clock control . the core clock is always in 256 f s mode . direct mclk fre - quencies must correspond to a value listed in table 12, where f s is the base sampling frequency. p ll outputs are always in 1024 f s mode , and the clock control register automatically set s the core clock divider to f /4 when using the pll. table 12 . core clock frequency dividers input clock rate core clock divider core clock 256 f s f/ 1 256 f s 512 f s f/ 2 768 f s f/ 3 1024 f s f/ 4 clocks for the converters, the serial ports, and the sigmadsp core are derived from the core clock. the core clock can be derived directly from mclk , or it can be generated by the pll. reg ister 16384 (0x4000), clock control, bit 3, clock source select, determines the clock source. bits [2:1], input master clock frequency , should be set according to the expected input clock rate selected by bit 3, clock source select . the clock source select value also determines the core clock rate and the base sampling frequency, f s . for example, if the input to bit 3 = 49.152 mhz (from pll), then bits [2:1] = 1024 f s ; therefore, f s = 49.152 mhz/1024 = 48 khz table 13 . clock control register ( register 16384, 0x4000) bits bit name settings 3 clock source select 0: direct from mcki pin (default) 1: pll clock [2:1] input master clock frequency 00: 256 f s (default) 01: 512 f s 10: 768 f s 11: 1024 f s 0 core clock enable 0: c ore clock disabled (default) 1: core clock enabled sampling rates the adcs, dacs, and serial port share a common sampling rate that is set in register 16407 (0x4017) , converter control 0. bits[2:0], converter sampling rate, set the sampling rate as a rat io of the base sampling frequency. the sigmadsp core sampling rate is set in register 16619 (0x40eb), sigmadsp core frame rate , bits[3:0], sigmadsp core frame rate, and the serial port sampling rate is set in register 16632 (0x40f8), serial port sampling rate, bits[2:0], serial port control sampling rate. it is strongly recommended that the sampling rates for the converters, serial ports, and sigmadsp core be set to the same value, unless appropriate compensation fi ltering is done within the sigmadsp core .
adau1781 rev. b | page 28 of 92 table 14 and table 15 list the sampling rate divisions for common base sampling rates. table 14 . base sampling rate divisions for f s = 48 khz base sampling frequency sampling rate scaling sampling rate f s = 48 khz f s /1 48 khz f s /6 8 khz f s /4 12 khz f s /3 16 khz f s /2 24 khz f s /1.5 32 khz f s /0.5 96 khz table 15 . base samp ling rate divisions for f s = 44.1 khz base sampling frequency sampling rate scaling sampling rate f s = 44.1 khz f s /1 44.1 khz f s /6 7.35 khz f s /4 11.025 khz f s /3 14.7 khz f s /2 22.05 khz f s /1.5 29.4 khz f s /0.5 88.2 khz pll the pll uses the mclk as a reference to generate the core clock. pll settings are set in register 16386 (0x4002), pll control . depending on the mclk frequency, the pll must be set for either integer or fractional mode. the pll can accept input frequencies in the range of 11 m hz to 2 0 mhz. all six bytes in the pll control register must be written with a single continuous write to the control port. mcki x (r + n/m) to pll clock divider 08314-028 figure 29 . pll block diagram integer mode integer mode is used when the mclk is an integer (r) multiple o f the pll output (1024 f s ). for example, if mclk = 12.288 mhz and f s = 48 khz, then pll required output = 1024 48 khz = 49.152 mhz r = 49.152 mhz/12.288 mhz = 4 in integer mode, the values set for n and m are ignored. fractional mode fractional mode is used when the mclk is a fractional (r + (n/m)) multiple of the pll output. for example, if mclk = 12 mhz and f s = 48 khz, then pll required output = 1024 48 khz = 49.152 mhz r + ( n / m ) = 49.152 mhz/12 mhz = 4 + (12/125) common fractional pll paramete r settings for 44.1 khz and 48 khz sampling rates can be found in table 16 and table 17. table 16 . fractional pll parameter settings for f s = 44.1 k hz 1 mclk input (mhz) input divider (x) integer (r) denominator (m) numerator (n) 12 1 3 625 477 13 1 3 8125 3849 14.4 2 6 125 34 19.2 2 4 125 88 19.68 2 4 1025 604 19.8 2 4 1375 772 1 desired core clock = 11.2896 mhz, pll output = 45.1584 mhz. tab le 17 . fractional pll parameter settings for f s = 48 khz 1 mclk input (mhz) input divider (x) integer (r) denominator (m) numerator (n) 12 1 4 125 12 13 1 3 1625 1269 14.4 2 6 75 62 19.2 2 5 25 3 19.68 2 4 205 204 19.8 2 4 825 796 1 desired core clock = 12.288 mhz, pll output = 49.152 mhz . the pll outputs a clock in the range of 41 mhz to 54 mhz, which should be taken into account when calculating pll values and mclk frequencies.
adau1781 rev. b | page 29 of 92 the adc and dac sampling rate can be set in re gister 16407 (0x4017), converter control 0, bits[2:0], converter sampling rate . the sigmadsp core sampling rate and serial port sampling rate are similarly set in register 16619 (0x40eb), sigmadsp core frame rate, bits[3:0], sigmadsp core frame rate , and register 16632 (0x40f8), serial port sampling rate, bits[2:0], serial port control sampling rate, respectively . table 18 and table 19 depict example sampling rate settings. the (1 256) case is the base sampling rate. table 18 . sampling rates for 256 48 khz core clock core clock sampling rate divider sampling rate 12.288 mhz (1 256) 48 khz (6 256) 8 khz (4 256) 12 khz (3 256) 16 khz (2 256) 24 khz (1.5 256) 32 khz (0.5 256) 96 khz table 19 . sampling rates for 256 44.1 khz core clock core clock sampling rate divider sampling rate 11.2896 mhz (1 256) 44.1 khz (6 256) 7.35 khz (4 256) 11 .025 khz (3 256) 14.7 khz (2 256) 22.05 khz (1.5 256) 29.4 khz (0.5 256) 88.2 khz
adau1781 rev. b | page 30 of 92 record signal path pga beep pga lmic/lmicn/ micd1 lmicp cm pga rmic/rmicn/ micd2 rmicp cm decimators left adc right adc 08314-029 figure 30 . record signal path diagram input signal path the adau1781 can be configured for three types of m icrophone inputs: s ingle - ended , differential , or digital . the lmic/lmicn/ micd1 and rmic/rmicn/micd2 pins encompass all of these configurations. lmicp and rmicp are used only during differen - tial configurations (see figure 30 , the record signal path diagram ). each analog input has individual gain controls (boost or cut). these signals are routed to their respective right or left channel adc. analog microphone inputs for differential inputs, rmicn and rmicp denote th e negative and positive input for the right channel, respectively. lmic n and l mic p denote the negative and positive inpu t for the left channel , respectively. lmic and rmic inputs are single- ended line inputs. toge the r , they can be used as a stereo single - ended input. digital microphone input s when a digital pdm microphone connected to the micd1 or micd2 pin is used , register 16392 (0x4008), digital microphone and analog beep control, must be set appropriately to enable the microphone input of choice . the mcko output clock provides the clock for the microphone and must be set accordingly in register 16384 (0x4000), clock control, depending on the streaming pdm rate of the microphone . the digital microphone signal bypasses the adcs and is routed directly in to the decimation filters. the digital microphone and adcs share these decimation filters ; therefore , both cannot be used simultaneously. analog beep input the beep pin is used for mono single - ended signals, such as a beep warning. this signal bypasses th e adcs and the sigmadsp core and is mixed directly into any of the analog outputs. a beep pin input can also be amplified or muted by a pga , up to 32 db in register 16392 (0x4008), digital microphone and analog beep control . the beep input must be enabled in register 16400 (0x4010), microphone bias control and beep enable . microphone bias the m ic bias pin provides a voltage reference for electret microphones. register 16400 (0x4010), microphone bias control and beep enable, sets the operation mode of this pi n. example configurations to decimators to decimators pga lmic/lmicn/ micd1 lmicp cm pga rmic/rmicn/ micd2 rmicp cm 08314-030 figure 31 . stereo digital microphone input configuration to left adc to right adc pga lmic/lmicn/ micd1 lmicp cm pga rmic/rmicn/ micd2 rmicp cm 08314-031 figure 32 . single - ended input configuration to left adc to right adc pga lmic/lmicn/ micd1 lmicp cm pga rmic/rmicn/ micd2 rmicp cm 08314-032 figure 33 . differential input configuration
adau1781 rev. b | page 31 of 92 ana log- to -d igital converters the adau1781 uses two 24 - bit - analog - to - digital converters (adcs) with selectable oversampling rates of either 64 or 128 . the full - scale input to the adcs depends on av dd1 . at 3.3 v, the full - scale input level is 1.0 v rms . inputs greater than the full - scale value result in clipp ing and distortion. digital adc volume control the adc output (digital input) volume can be adjusted in register 16410 (0x401a), left adc attenuator, bits[7:0], left adc digital attenuator, for the left channel digital volume control and in register 16411 (0x401b), right adc attenuator, bits[7:0], right adc digital attenuator , for right channel digital volume control . high - pass filter a high - pass filter is used in the adc path to remove dc offsets and can be selected in register 16409 (0x4019), adc control , bit 5, high - pass filter select , where it can be enabled or disabled.
adau1781 rev. b | page 32 of 92 playback signal path spp aoutl left playback mixer left dac line out amplifier aoutr right dac line out amplifier right playback mixer mono playback mixer mono output gain mono playback beep gain beep from record pga spn left playback beep gain right playback beep gain ?1 mono output inverter 08314-033 figure 34 . playback signal path diagram output s ignal p aths the outputs of the adau1781 include a left and right line output and speak er driver. the beep input signal can be mixed into any of these outputs , with separate gain control for each path . digital - to - analog converters the adau1781 uses two 24 - bit - digital - to - analog converters (dacs) with selectable oversampling rates of 64 or 128 . the full - scale output of the dacs depends on avdd1. at 3.3 v , the full - scale output level is 1.0 v rms . digital dac volume control the dac output (digital out put) vo lume can be adjusted in register 16427 (0x402b), left dac attenuator, for the left channel digital volume control and in register 16428 (0x402c) , right dac attenuator, for the right channel digital volume control. de -emphasis filter a de - emphasis filter is used in the dac path to remove high frequency noise in an fm system . this filter can be enabled or disabled in register 16426 (0x402a), dac control . line output s the aoutl and aoutr pins are the left and right line outputs, respectively. both outputs have a line out put amplifier that can be set in the control registers. the left playback mixer is dedicated to the aoutl output. this mixer mixes the left dac and the beep signal. similarly, the right playback mixer mixes the right dac and the beep input and is dedicated to the aoutr output. speaker output the spp and spn pins are the positive and negative speaker outputs, respectively. each output has a speaker driver. the speaker outputs are derived from the mono playback mixer , which sums the right and lef t dac outputs and mixes with the beep signal. the mixer can be controlled in register 16415 (0x401f), playback mono mixer control. the drivers are low noise, class ab mono amplifiers designed to drive 8 , 400 mw speakers. the output is differential and do es not require external capacitors. the gain settings for the speaker drivers can be set in register 16423 (0x4027), playback speaker output control . in this register , the drivers can be set for any of the four gain settings: 0 db, 2 db, 4 db, or 6 db. add itionally, the speaker driver can be muted or powered down completely. for pop and click suppression, an internal precharge sequence with output gating/enabling occurs after the mono driver is enabled. the sequence last s for 8 ms, and then the internal mut e signal rising edge occur s (see figure 35 for the power - up sequence timing diagram ). the power - down sequence is essentially the reverse of the start - up sequence , as depicted in figure 36. speaker output enable mono output mute spp spn high-z high-z v cm v cm i avdd2 <1a 1.1ma 2.3ma 2.3ma + signal current dac beep dac volume muted beep volume muted dac volume increases beep volume increases 4ms 4ms 08314-034 figure 35 . speaker driver power - up sequence speaker output enable mono output mute spp spn i avdd2 dac beep high-z high-z v cm v cm <1a 1.1ma 2.3ma 2.3ma + signal current dac volume muted beep volume muted dac volume decreases beep volume decreases 4ms 4ms 08314-035 figure 36 . speaker driver power - down sequence
adau1781 rev. b | page 33 of 92 control ports the adau1781 can operate in one of two control modes: i 2 c control or spi cont rol . the adau1781 has both a 4 - wire spi control port and a 2 - wire i 2 c bus control port. each can be used to set the registers. the part defaults to i 2 c mode but can be put into spi control mode by pulling the clatch the control port is capable of full read/write operation for all addressable registers. most sigmadsp core processing parameters are controlled by writing new values to the parameter ram using the control port . other functions, such as mute, input/output m ode control, and analog signal paths, can be programmed by writing to the appropriate registers. pin low three times. all addresses can be accessed in either a single - address mode or a burst mode. the first byte (byte 0) of a control port write contains the 7 - bit chip address plus the r/ w the adau1781 has several mechanisms for updating audio processing parameters in real time without causing pops or clicks. t he control port pins are multifunctional, depending on the mode in which the part is operating. bit. the next two bytes (byte 1 and byte 2) together form the subaddress of the r egister location within the adau1781 . all subsequent bytes (starting with byte 3) contain the data, such as control port data, register dat a, or parameter ram data. the number of bytes per word depends on the type of data that is being written. the exact formats for specific types of writes and reads are shown in figure 39 to figure 42. table 20 details these multiple functions. table 20 . control port pin functions pin i 2 c mode spi mode scl/cclk scl input cclk input sda/cout sda open - collector output cout output addr1/ clatch i 2 c address bit 1 input clatch input addr0/ cdata i 2 c address bit 0 input cdata input i 2 c port the adau1781 supports a 2 - wire serial (i 2 c- compatible) microprocessor bus driving multiple peripherals. two pins, serial data (s da) and serial clock (scl), carry information between the adau1781 and the system i 2 c master controller. in i 2 c mode, the adau1781 is always a slave on the bus, meaning it cannot initiate a data transfer. each slave device is recognized by a unique address . the address byte format is shown in table 21. the address resides in the first seven bits of the i 2 c write. the lsb of this byte sets either a read or write operation. logic 1 corresponds to a read operation, and logic 0 corresponds to a write operation. the full byte addresses, including the pin settings and r/ w burst mode addressing, where the subaddresses are automati - call y incremented at word boundaries, can be used for writing large amounts of data to contiguous memory locations. this increment happens automatically after a single - word write unless a stop condition is encountered. the registers in the adau1781 range in wi dth from one to six bytes ; therefore, the auto - increment feature knows the mapping between subaddresses and the word length of the destination register. a data transfer is always terminated by a stop condition. bit, are shown in table 22 . both sda and scl should have 2.0 k ? pull - up resistors on the lines connected to them. the voltage on these signal lines should not be more than av dd1 . table 21. i 2 c address byte format bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 0 1 1 1 0 addr1 addr0 r/ w table 22. i 2 c addresses addr1 addr0 r/ w slave address 0 0 0 0x70 0 0 1 0x71 0 1 0 0x72 0 1 1 0x73 1 0 0 0x74 1 0 1 0x75 1 1 0 0x76 1 1 1 0x77 addressing initially, each device on the i 2 c bus is in an idle state and monitoring the sda and scl lines for a start condition and the proper address. the i 2 c master initiates a data transfer by establishing a start condition, defined by a high - to - low transition on sda while scl remains high. this indicates that an address or an address and data stream follow . all devices on the bus respond to the start condition and shift the next eight bits (the 7 - bit address plus the r/ w the r/ bit) , msb first. the device that recognizes the trans mitted address responds by pulling the data line low during the ninth clock pulse. this ninth bit is known as an acknowledge bit. all other devices withdraw from the bus at this point and return to the idle condition. w bit de termines the direction of the data. a logic 0 on the lsb of the first byte means the master write s information to the peripheral, whereas a logic 1 means the master read s information from the peripheral after writing the subaddress and repeating the start address. a data transfer takes place until a stop condition is encountered. a stop condition occurs when sda transitions from low to high while scl is held high. figure 37 shows the timing of an i 2 c write, and figure 38 shows an i 2 c read.
adau1781 rev. b | page 34 of 92 stop and start conditions can be detected at any stage during the data transfer. if these conditions are asserted out of sequence with normal read and write operations, the adau1781 immed iately jumps to the idle condition. during a given scl high period, the user should issue only one start condition, one stop condition, or a single stop condition followed by a single start condition. if an invalid subaddress is issued by the user, the ada u1781 does not issue an acknowledge and returns to the idle condition. if the user exceeds the highest subaddress while in auto - increment mode, one of two actions is taken. in read mode, the adau1781 outputs the highest subaddress register contents until t he master device issues a no acknowledge, indicating the end of a read. a no - acknowledge condition is where the sda line is not pulled low on the ninth clock pulse on scl. if the highest subaddress location is reached while in write mode, the data for the invalid byte is not loaded into any subaddress register, a no acknowledge is issued by the adau1781 , and the part returns to the idle condition. r/w 0 scl sda scl (continued) sda (continued) 1 1 1 0 addr0 addr1 start by master frame 1 chip address byte frame 2 subaddress byte 1 frame 3 subaddress byte 2 frame 4 data byte 1 acknowledge by adau1781 acknowledge by adau1781 acknowledge by adau1781 acknowledge by adau1781 stop by master 08314-036 figure 37 . i 2 c write to adau1781 clocking scl sda scl (continued) sda (continued) scl (continued) sda (continued) start by master acknowledge by adau1781 acknowledge by adau1781 repeated start by master acknowledge by adau1781 acknowledge by adau1781 acknowledge by master stop by master acknowledge by adau1781 0 1 1 1 0 addr0 addr1 0 1 1 1 0 addr0 addr1 frame 1 chip address byte frame 2 subaddress byte 1 frame 3 subaddress byte 2 frame 4 chip address byte frame 5 read data byte 1 frame 6 read data byte 2 r/w r/w 08314-037 figure 38 . i 2 c read from adau1781 clocking
adau1781 rev. b | page 35 of 92 i 2 c read and write operations figure 39 shows the timing of a single - word write operation. every ninth clock pulse, the adau1781 issues an acknowledge by pulling sda low. figure 40 shows the timing of a burst mode write sequence. this figure shows an example where the target destination registers are two bytes. the adau1781 knows to increment its subaddress register every two bytes because the requested subaddress corresponds to a register or memory area with a 2- byte word length. the timing of a single - word read operation is shown in figure 41 . note that the first r/ w bit is 0, indicating a write operation. this is because the subaddress still needs to be written to set up the internal address. after the adau1781 acknowledges the receipt of the subaddress, the master must issue a repeated start command followed by the chip addre ss byte with the r/ figure 42 w bit set to 1 (read). this causes the adau1781 sda to reverse and begin driving data back to the master. the master then responds every ninth pulse with an acknowledge pulse to the adau1781 . shows the timing of a burst mode read sequence. this figure shows an example where the target read registers are two bytes. the adau1781 increments its subaddress every two bytes because the requested subaddress corresponds to a register or memory area with word lengths of two bytes. other address ranges may have a variety of word lengths ranging from one to five bytes. the adau1781 always decodes the subaddress and sets the auto - increment circuit so that the address increments after the appropriate number of bytes. s as subaddress, low byte as as as as ... as p chip address, r/w = 0 data byte 1 data byte 2 data byte n subaddress, high byte s = start bit, p = stop bit, as = acknowledge by slave. shows a one-word write, where each word has n bytes. 08314-038 figure 39 . single - word i 2 c write sequence s as as as as as as as as as ... p chip address, r/w = 0 subaddress, high byte subaddress, low byte data-word 1, byte 1 data-word 1, byte 2 data-word 2, byte 1 data-word 2, byte 2 data-word n, byte 1 data-word n, byte 2 s = start bit, p = stop bit, as = acknowledge by slave. shows an n-word write, where each word has two bytes. (other word lengths are possible, ranging from one to five bytes.) 08314-039 figure 40 . burst mode i 2 c write sequence s am am as am as s as as ... p chip address, r/w = 0 chip address, r/w = 1 data byte n data byte 2 data byte 1 subaddress, high byte subaddress, low byte s = start bit, p = stop bit, am = acknowledge by master, as = acknowledge by slave. shows a one-word read, where each word has n bytes. 08314-040 figure 41 . single - word i 2 c read sequence s s as as as as am am am am ... p chip address, r/w = 0 subaddress, high byte subaddress, low byte data-word 1, byte 1 data-word 1, byte 2 data-word n, byte 1 data-word n, byte 2 chip address, r/w = 1 s = start bit, p = stop bit, am = acknowledge by master, as = acknowledge by slave. shows an n-word read, where each word has two bytes. (other word lengths are possible, ranging from one to five bytes.) 08314-041 figure 42 . burst mode i 2 c read sequence
adau1781 rev. b | page 36 of 92 spi port by default, the adau1781 is in i 2 c mode, but can be put into spi control mode by pulling clatch low three times. the spi port uses a 4 - wire interface, consisting of clatch , cclk, cdata, and cout signals , and is always a slave port. the clatch chip address r/ signal goes low at the beginning of a transaction and high at the end of a transaction. the cclk signal latches cdata on a low - to - high transit ion. cout data is shifted out of the adau1781 on the falling edge of cclk and should be clocked into a receiving device, such as a microcontroller, on the cclk rising edge. the cdata signal carries the serial input data, and the cout signal is the serial o utput data. the cout signal remains three - stated until a read operation is requested. this allows other spi - compatible peripherals to share the same readback line. all spi transactions have the same basic format shown in table 24 . a timing diagram is shown in figure 4 . all data should be written msb first. the adau1781 can be taken out of spi mode only by a full reset. w the first byte o f an spi transaction includes the 7 - bit chip address and a n r/ w table 23 . spi address byte format bit. the chip address is always 0x38 . the lsb of this first byte determines whether the spi transaction is a read (logic 1) or a write (logic 0). bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 0 0 0 0 0 0 0 r/ w subaddress the 12 - bit subaddress word is decoded into a location in one of the registers. this subaddress is the location of th e appropriate register. the msbs of the subaddress are zero - padded to bring the word to a full 2 - byte length. data bytes the number of data bytes varies according to the register being accessed. during a burst mode write, an initial subaddress is written followed by a continuous sequence of data for consecutive register locations. a sample timing diagram for a single - write spi operation to the parameter memory is shown in figure 43. a sample timing diagram of a sin gle - read spi operation is shown in figure 44 . the cout pin goes from three - state to being driven at the beginning of byte 3. in this example, byte 0 to byte 2 contain the addresses and r/ w spi read/write clock frequency (cclk) bi t, and subsequent bytes carry the data. the spi port of the adau1781 has asymmetrical read and write clock frequencies. it is possible to write data into the device at higher data rates than reading data out of the de vice. more detailed information is available in the digital timing specifications section. memory and register access several conditions must be true to have full access to all memory and registers via the control port: ? the adau1781 must have finished its initialization, including power - on reset, pll lock, and self - boot. ? the core clock must be enabled (register 16384 (0x4000), clock control, bit 0, core clock enable, set to 1). ? the memory controller must be powered (register 16512 (0x4080), digital power - down 0, bit 6, memory controller, set to 1). ? the sigmadsp core must be powered (register 16512 (0x4080), digital power - down 0, bit 0, sigmadsp core , set to 1). table 24 . generic control word format byte 0 byte 1 byte 2 byte 3 byte 4 1 chip_adr [6:0], r/ w subadr [15:8] subadr [7:0] data data 1 continues to end of data.
adau1781 rev. b | page 37 of 92 clatch cclk cdata byte 0 byte 1 byte 2 byte 3 08314-042 figure 43 . spi write to adau1781 clocking (single - write mode) clatch cclk cdata cout byte 0 byte 1 high-z data data high-z byte 3 08314-043 figure 44 . spi read from adau1781 clocking (single - read mode)
adau1781 rev. b | page 38 of 92 serial data input/output ports the flexible serial data input and output ports of the adau1781 can be set to accept or transmit data in 2 - channel format or in a 4- channel or 8 - channel tdm stream to i nterface to external adcs or dacs. data is processed by default in twos complement, msb first format , unless otherwise configured in the control registers . by default, t he left channel data field precedes the right channel data field in 2 - channel streams. in tdm 4 mode, slot 0 and slot 1 are in the first half of the audio frame, and slot 2 and slot 3 are in the second half of the audio frame. in tdm 8 mode, slot 0 to slot 3 are in the first half of the audio frame, and slot 4 to slot 7 are in the second hal f of the frame. the serial modes and the position of the data in the frame are set in register 16405 (0x4015), serial port control 0 ; register 16406 (0x4016), serial port control 1 ; register 16407 (0x4017), converter control 0 ; and register 16408 (0x4018), converter control 1. the serial data clocks must be synchronous with the adau1781 master clock input. the lrclk and bclk pins are used to clock both the serial input and output ports. the adau1781 can be set as the master or the slave in a system. because there is only one set of serial data clocks, the input and output ports must always be both master or both slave. register 16405 (0x4015), serial port control 0, and register 16406 (0x4016), serial port control 1, allow control of clock polarity and data input modes. the valid data formats are i 2 s, left - justified, right - justified (24 - /20 - /18 - /16 - bit), and tdm. in all modes except for the right - justified modes, the serial port inputs an arbitrary number of audio data bits , up to a limit of 24. extra bits do not cause an error, but they are truncated internally. the serial port can operate with an arbitrary number of bclk t ransitions in each lrclk frame. tdm modes the lrclk in tdm mode can be input to the adau1781 either as a 50% duty cycle clock or as a bit - wide pulse. when the lrclk is set as a pulse, a 47 pf capacitor should be connected between the lrclk pin and ground, as shown in figure 45 . this is necessary in both master and slave modes to properly align the lrclk signal to the serial data stream. adau1781 lrclk bclk 47pf 08314-044 figure 45 . tdm pulse mode lrclk capacitor alignment the adau1781 tdm implementation is a tdm audio stream. unlike a true tdm bus, its output does not become high imped - ance during periods when it is not transmitting data. in tdm 8 mode, the adau1781 can be a master for f s up to 48 khz. table 25 lists the modes in which the serial output port can function. table 25 . serial o utput port master/slave mode capabilities f s 2- channel modes (i 2 s, left - justified, right - justified) 8- channel tdm 48 khz master and slave master and slave 96 khz master and slave slave table 26 describes the p roper configurations for standard audio data formats. right - justified modes must be configured manually using register 16406 (0x4016), serial port control 1, bits[7:5], number of bit clock cycles per frame , and bits [1:0], data delay from lrclk edge. table 26 . data format configurations format lrclk polarity lrclk mode bclk polarity bclk cycles/ audio frame data delay from lrclk edge i 2 s (see figure 46 ) frame begins on falling edge 50% d uty cycle data changes on falling edge 64 delayed from lrclk edge by 1 bclk left - justified (see figure 47 ) frame begins on rising edge 50% duty cycle data changes on falling edge 64 aligned with lrclk edge right - justified (see figure 48 ) frame begins on rising edge 50% duty cycle data changes on falling edge 64 delayed from lrclk edge by 8, 12, or 16 bclks to align lsb with right edge of frame. tdm with clock (see figure 49 ) frame begins on falling edge 50% duty cycle data changes on falling edge 64 to 256 delayed from start of word clock by 1 bclk tdm with pulse (see figure 50 ) frame beg ins on rising edge pulse data changes on falling edge 64 to 256 delayed from start of word clock by 1 bclk
adau1781 rev. b | page 39 of 92 lrclk bclk sdat a msb left channe l lsb msb right channe l lsb 1/ f s 08314-045 figure 46 . i 2 s mode 16 bits to 24 bits per channel lrclk bclk sdat a left channe l msb lsb msb right channe l lsb 1/ f s 08314-046 figure 47 . left - justified mode 16 bits t o 24 bits per channel lrclk bclk sdat a left channe l msb lsb msb right channe l lsb 1/ f s 08314-047 figure 48 . right - justified mode 16 bits to 24 bits per channel lrclk bclk dat a slot 1 slot 4 slot 5 32 bclks msb msb ? 1 msb ? 2 256 bclks slot 2 slot 3 slot 6 slot 7 slot 8 lrclk bclk dat a 08314-048 figure 49 . tdm mode lrclk slot 0 slot 1 slot 2 slot 3 slot 4 slot 5 slot 6 slot 7 ch 0 bclk sdat a msb tdm 8th ch 32 bclks msb tdm 08314-049 figure 50 . tdm mode with pulse word cloc k
adau1781 rev. b | page 40 of 92 general- purpose input/ou tputs the serial data input/output pins are shared with the general - purpose input/output function. each of these four pins can be set to only one function. the function of these pins is set in register 16628 (0x40f4), serial data/gpio pin configuration . t he gpio pins can be used as either inputs or outputs. these pins are readable and can be set either through the control interface or directly by the sigmadsp core . when set as inputs, these pins can be used with push - button switches or rotary encoders to c ontrol sigmadsp core program settings. digital outputs can be used to drive leds or external logic to indicate the status of internal signals and control other devices. examples of this use include indicating signal overload, signal present, and button pre ss confirmation. when set as an output, each pin can typically drive 2 ma. this is enough current to directly drive some high efficiency leds. standard leds require about 20 ma of current and can be driven from a gpio output with an external transistor or buffer. because of issues that may arise from simultaneously driving or sinking a large current on many pins, care should be taken in the application design to avoid connecting high efficiency leds directly to many or all of the gpio pins. if many leds are required, use an external driver. when the gpio pins are set as open - collector outputs, they should be pulled up to a maximum voltage of what is set on iovdd. the configuration of the gpio functions is set up in register 16582 to register 16586 (0x40c6 to 0x40ca), gpio pin control. gpios set from control port the gpio pins can also be set to be directly controlled from the i 2 c/spi control port. when the pins are set into this mode, five memory locations are enabled for the gpio pin settings (see table 75) . the physical settings on the gpio pins mirror the settings of the lsb of these 4 - byte - wide memory locations.
adau1781 rev. b | page 41 of 92 dsp core signal processing the adau1781 is designed to provide all audio signal processing functions commonly used in stereo or mono low power record and playback systems. the signal processing flow is designed using the sigmastudio ? software, which allows graphical entry and real - time control of all signal processing functions. many of the signal proces sing functions are coded using full, 56- bit, double - precision arithmetic data. the input and output word lengths of the dsp core are 24 bits. four extra headroom bits are used in the processor to allow internal gains of up to 24 db without clipping. addit ional gains can be achieved by initially scaling down the input signal in the dsp signal flow. architecture the dsp core consists of a simple 28 - /56 - bit multiply - accumulate unit (mac) with two sources: a data source and a coefficient source. the data sourc e can come from the data ram, a rom table of commonly used constant values, or the audio inputs to the core. the coefficient source can come from the parameter ram, a rom table of commonly used constant values, or the audio inputs to the core. the two so urces are multiplied in a 28 - bit fixed - point multiplier , and then the signal is input to the 56 - bit adder; the result is usually stored in one of three 56 - bit accumulator registers. the accumu - lators can be output from the core (in 28 - bit format) or can op tionally be written back into the data or parameter rams. program counter the execution of instructions in the core is governed by a program counter, which sequentially steps through the addresses of the program ram. the program counter starts every time a new audio frame is clocked into the core. sigmastudio inserts a jump - to - start command at the end of every program. the program counter increments sequentia lly until reaching this command and then jumps to the program start address and waits for the next a udio frame to clock into the core. features the sigmadsp core was designed specifically for audio processing and therefore includes several features intended for maximizing efficiency. these include hardware decibel conversion and audio - specific rom consta nts. coefficient source (parameter ram, rom constants, inputs, ...) data operations (accumulators (3), db conversion, bit operators, bit shifter, ...) data source (data ram, rom constants, inputs, ...) outputs truncator truncator 56 56 56 28 28 28 28 56 08314-200 figure 51 . simplified dsp core architecture
adau1781 rev. b | page 42 of 92 numeric formats dsp systems commonly use a standard numeric format. fractional number systems are specified by an a.b format, where a is the number of bits to the left of th e decimal point and b is the number of bits to the right of the decimal point. the adau1781 uses numerical format 5.23 for both the parameter and data values. numerical format 5.23 linear range: ? 16.0 to (+16.0 ? 1 lsb) examples: 1000 0000 0000 0000 0000 0000 0000 = ? 16.0 1110 0000 0000 0000 0000 0000 0000 = ?4.0 1111 1000 0000 0000 0000 0000 0000 = ?1.0 1111 1110 0000 0000 0000 0000 0000 = ? 0.25 1111 1111 0011 0011 0011 0011 0011 = ?0.1 1111 1111 1111 1111 1111 1111 1111 = (1 lsb below 0) 0000 0000 0000 0000 0000 0000 0000 = 0 0000 0000 1100 1100 1100 1100 1101 = +0.1 0000 0010 0000 0000 0000 0000 0000 = + 0.25 0000 1000 0000 0000 0000 0000 0000 = +1.0 0010 0000 0000 0000 0000 0000 0000 = +4.0 0111 1111 1111 1111 1111 1111 1111 = ( + 16.0 ? 1 lsb) the serial p ort accepts up to 24 bits on the input and is sign - extended to the full 28 bits of the dsp core. this allows internal gains of up to 24 db without internal clipping. a digital clipper circuit is used between the output of the dsp core and the dacs or seri al port outputs (see figure 52 ). this circuit clips the top four bits of the signal to produce a 24 - bit output with a range of 1.0 (minus 1 lsb) to ?1.0. figure 52 shows the maximum signal levels at each point in the data flow in both binary and decibel values . 4-bit sign extension data in 1.23 (0db) 1.23 (0db) 1.23 (0db) 5.23 (24db) 5.23 (24db) serial port signal processing (5.23 format) digital clipper 08314-201 figure 52 . numeric precision and clipping structure programming on po wer - up, the adau1781 must be set with a clocking scheme and then loaded with register settings. after the codec signal path is set up, the dsp core can be programmed. there are 1024 instruction cycles per audio sample, resulting in an internal clock rate o f 49.152 mhz when f s = 48 khz. the program ram contains addresses for 512 instructions, but up to 1024 instructions can be performed by using branching and looping functions. the part can be programmed easily using sigmastudio (see figure 53 ), a graphical tool provided by analog devices. no knowledge of writing line - level dsp code is required. more information about sigmastudio can be found at www.analog.com .
adau1781 rev. b | page 43 of 92 08314-202 figure 53 . sigmastudio screen shot
adau1781 rev. b | page 44 of 92 program ram, parameter ram, and data ram table 27 . ram map and read/write modes memory size address range read write write modes parameter ram 512 32 0 to 511 (0x0000 to 0x0 1 ff) ye s yes direct, safeload program ram 512 40 1024 to 1535 (0x0 4 00 to 0x0 5 ff) yes yes direct table 27 sho ws the ram map (the adau1781 register map is provided in the contr ol register map section). the address space encompasses a set of registers and three rams: program, parameter, and data. the program ram and parameter ram are not initialized on power - up and are in an unknown state until written to. program ram the progr am ram contains the 40 - bit operation codes that are executed by the core. the sigmastudio compiler calculates maximum instructions per frame for a project and generates an error when the value exceeds the maximum allowable instructions per frame based on the sample rate of the signals in the core. because the end of a program contains a jump - to - start command, the unused program ram space does not need to be filled with no- operation (nop) commands. parameter ram the parameter ram is 32 bits wide and occupi es address 0 to address 511 . each parameter is padded with four 0s before the msb to extend the 28 - bit word to a full 4 - byte width. the data format of the parameter ram is twos complement, 5.23. this means that the coefficients can range from +16.0 (minus 1 lsb) to ?16.0, with 1.0 represented by the binary word 0000 1000 0000 0000 0000 0000 0000 or by the hexadecimal word 0x00 0x80 0x00 0x00. the parameter ram can be written to directly or with a safe - load write. the direct write mode of operation is typi cally used during a complete new loading of the ram using burst mode addressing to avoid any clicks or pops in the outputs. note that this mode can be used during live program execution, but because there is no handshaking between the core and the control port, the parameter ram is unavailable to the dsp core during control writes, resulting in clicks and pops in the audio stream. sigmastudio automatically assigns the first eight positions to safeload parameters; therefore, project - specific parameters start at address 0x0008. data ram the adau1781 data ram is used to store audio data - words for processing. the user cannot directly address this ram space, which has a size of 512 words, from the control port. when implementing blocks, such as delays, that requi re large amounts of data ram space, data ram utilization should be taken into account. the sigmadsp core processes delay times in one - sample increments; therefore, the total pool of delay available to the user equals 512 multiplied by the sample period. fo r a f s,dsp of 48 khz, the pool of available delay is a maximum of about 10 ms, where f s,dsp is the dsp core sampling rate. in practice, this much data memory is not available to the user because every block in a design uses a few data memory locations for its processing. in most dsp programs, this does not significantly affect the total delay time. the sigmastudio compiler manages the data ram and indicates whether the number of addresses needed in the design exceeds the maximum number available. read/write data formats the read/write formats of the control port are designed to be byte oriented to allow for easy programming of common microcontroller chips. to fit into a byte - oriented format, 0s are appended to the data fields before the msb to extend the da ta - word to eight bits. for example, 28 - bit words written to the parameter ram are appended with four leading 0s to equal 32 bits (four bytes); 40 - bit words written to the program ram are not appended with 0s because they are already a full five bytes. the se zero - padded data fields are appended to a 3 - byte field consisting of a 7 - bit chip address, a read/write bit, and a 16- bit ram/register address. the control port knows how many data bytes to expect based on the address given in the first three bytes. th e total number of bytes for a single - location write command can vary from one byte (for a control register write) to five bytes (for a program ram write). burst mode can be used to fill contiguous register or ram locations. a burst mode write begins by wri ting the address and data of the first ram or register location to be written. rather than ending the control port transaction (by issuing a stop command in i 2 c mode or by bringing the clatch signal high in spi mode after the data - word), as would be done in a single - address write, the next data - word can be written immedi - ately without specifying its address. the adau1781 control port auto - increments the address of each write even across the boundaries of the different rams and registers. table 29 and table 31 show examples of burst mode writes.
adau1781 rev. b | page 45 of 92 table 28 . parameter ram read/write format (single address) byte 0 byte 1 byte 2 byte 3 bytes[4:6] chip_adr [6:0], r/ w param_adr [15:8] param_adr [7:0] 0000, param [27:24] param [23:0] table 29 . parameter ram block read/write format (burst mode) byte 0 byte 1 byte 2 byte 3 bytes[4:6] bytes[7:10] b ytes[11:14] chip_adr [6:0], r/ w param_adr [15:8] param_adr [7:0] 0000, param [27:24] param [23:0] < param_adr > param_adr + 1 param_adr + 2 table 30 . program ram read/write format (single address) byte 0 b yte 1 byte 2 bytes[3:7] chip_adr [6:0], r/ w prog_adr [15:8] prog_adr [7:0] prog [39:0] table 31 . program ram block read/write format (burst mode) byte 0 byte 1 byte 2 bytes[3:7] bytes[8:12] bytes[13:17] chip_adr [6:0], r/ w prog_adr [15:8] prog_adr [7:0] prog [39:0] prog_adr prog_adr + 1 prog_adr + 2 software safeload to update parameters in real time while avoiding pop and click noises on the output, the adau1781 uses a software saf eload mechanism. the software safeload mechanism enables the sigmadsp core to load new parameters into ram while guaranteeing that the parameters are not in use. this prevents an undesirable condition where an instruction may execute with a mix of old and new parameters. sigmastudio sets up the necessary code and parameters auto - matically for new projects. the safeload code, along with other initialization code, fills the first 39 locations in program ram. the first eight parameter ram locations (address 0 x0000 to address 0x0007) are configured by default in sigmastudio as described in table 32. table 32 . software safeload parameter ram defaults address (hex) function 0x0000 modulo ram size 0x0001 safeload data 1 0x0002 safeload data 2 0x0003 safeload data 3 0x0004 safeload data 4 0x0005 safeload data 5 0x0006 safeload target address (offset of ?1) 0x0007 number of words to write/safeload trigger address 0x0000, which controls the modulo ram size, is set by sigmastudio and is based on the dynamic address generator mode of the project. parameter ram address 0x0001 to address 0x0005 are the five data slots for storing the data to be safeloaded. the safeload parameter space contains fiv e data slots by default because most standard signal processing algorithms have five parameters or less. address 0x0006 is the target address in parameter ram (with an offset of ?1). this designates the first address to be written. if more than one word is written, the address increments auto - matically for each data - word. up to five sequential parameter ram locations can be updated with safeload during each audio frame. the target address offset of ?1 is used because the write address is calculated relative to the address of the data, which starts at address 0x0001. therefore, to update a parameter at address 0x000a, the target address is 0x0009. address 0x0007 designates the number of words to be written into the parameter ram during the safeload. a biquad filter uses all five safeload data addresses. a simple mono gain cell uses only one safeload data address. writing to this address also triggers the safeload write to o ccur in the next audio frame. the safeload mechanism is software based and executes once per audio frame. therefore, system designers must take care when designing the communication protocol. a delay equal to or greater than the sampling period (the invers e of sampling frequency) is required between each safeload write. a sample rate of 48 khz equates to a delay of at least 21 s. if this delay is not observed, the downloaded data is corrupted.
adau1781 rev. b | page 46 of 92 software slew when the values of signal processing parameters are changed abruptly in real time, they sometimes cause pop and click sounds to appear on the audio outputs. to avoid pops and clicks, some algorithms in sigmastudio implement a software slew functionality. algorithms using software slew set a target value for a parameter and continuously update the value of that parameter until it reaches the target. the target value takes an additional space in parameter ram, and the current value of the parameter is updated in the non - modulo section of data ram. assignme nt of parameters and non modulo data ram is handled by the sigmastudio compiler and does not need to be programmed manually. slew parameters can follow several different curves, including an rc - type curve and a linear curve. these curve types are coded into each algorithm and cannot be modified by the user. because algorithms that use software slew generally require more ram than their nonslew equivalents, they should be used only in situations where a parameter will change during operation of the device. figure 54 shows an example of volume slew applied to a sine wave. initial value slew curve new target value 08314-203 figure 54 . example of volume slew
adau1781 rev. b | page 47 of 92 applications informa tion power supply bypass capacitors each analog and digital power s upply pin should be bypassed to its nearest appropriate ground pin with a single 100 nf capacitor. the connections to each side of the capacitor should be as short as possible, and the trace should stay on a single layer with no vias. for maximum effective ness, locate the capacitor equidistant from the power and ground pins or, when equidistant placement is not possible, slightly closer to the power pin. thermal connec - tions to the ground planes should be made on the far side of the capacitor. each supply s ignal on the board should also be bypassed with a single bulk capacitor (10 f to 47 f). vdd gnd to gnd to vdd capacitor 08314-051 figure 55 . recommended power supply bypass capacitor layout gsm noise filter in mobile applications, excessive 217 hz gsm noise on the anal og supply pins can degrade the quality of the audio signal. to avoid this probl em, it is recommended that an l c filter be used in series with the bypass capacitors for the avdd pins. this filter should consist of a 1.2 nh inductor and a 9.1 pf capacitor in series between avdd x and ground, as shown in figure 56. avdd1 avdd2 0.1f 0.1f 9.1pf 1.2nh 10f + 08314-052 figure 56 . gsm filter on the analog supply pins grounding a single ground plane should be used in the application layout. componen ts in an analog signal path should be placed away from digital signals. speaker driver supply trace ( avdd2 ) the trace supplying power to the avdd2 pin has higher current requirements than the av dd1 pin (up to 300 ma) . a n appro - priately thick trace is recom mended. exposed pad pcb desi gn the adau1781 lfcsp package has an exposed pad on the underside . this pad is used to couple the package to the pcb for heat dissipation when using the outputs to drive earpiece or headphone loads. when designing a board for th e adau1781 , special consideration should be given to the following: ? a copper layer equal in size to the exposed pad should be on all layers of the board, from top to bottom, and should connect somewhere to a dedicated copper board layer (see figure 57). ? vias should be placed to connect all layers of copper, allowing for efficient heat and energy conductivity. for an example, see figure 58 , which has nine vias arranged in a 3 inch 3 inch grid in the pad area. top power ground bottom copper squares vias 08314-053 figure 57 . exposed pad layout example, side view 08314-054 figure 58 . exposed pad layout example, top view
adau1781 rev. b | page 48 of 92 control register map all registers except the pll control registe r are 1 - byte write and read registers. table 33 . address hex decimal name 0x4000 16384 clock control 0x4001 16385 regulator control 0x4002 16386 pll control (48 - bit register) 0x4008 16392 digital microphone and analog beep co ntrol 0x4009 16393 record power management 0x400e 16398 record gain left pga 0x400f 16399 record gain right pga 0x4010 16400 mic rophone bias control and beep enable 0x4015 16405 serial port control 0 0x4016 16406 serial port control 1 0x4017 16407 converter control 0 0x4018 16408 converter control 1 0x4019 16409 adc control 0x401a 16410 left adc attenuator 0x401b 16411 right adc attenuator 0x401c 16412 playback mixer left control 0x401e 16414 playback mixer right control 0x401f 16415 playb ack mono mixer control 0x4020 16416 playback clamp amp lifier control 0x4025 16421 left line output mute 0x4026 16422 right line output mute 0x4027 16423 playback speaker output control 0x4028 16424 beep zero - crossing detector control 0x4029 16425 pl ayback power management 0x402a 16426 dac control 0x402b 16427 left dac attenuator 0x402c 16428 right dac attenuator 0x402d 16429 serial port pad control 0 0x402e 16430 serial port pad control 1 0x402f 16431 communication port pad control 0 0x4030 1 6432 communication port pad control 1 0x4031 16433 mcko control 0x4032 16434 dejitter control 0x4080 16512 digital power - down 0 0x4081 16513 digital power - down 1 0x40c6 to 0x40ca 16582 to 16586 gpio pin control 0x03e8 to 0x 03ec 1000 to 1004 gpio pin value registers 0x40e9 to 0x40ea 16617 to 16618 nonm odulo registers 0x40eb 16619 sigmadsp core frame rate 0x40f2 16626 serial input route control 0x40f3 16627 serial output route control 0x40f4 16628 serial data/gpio pin configuration 0x40f6 16630 si gmadsp core run 0x40f8 16632 serial port sampling rate
adau1781 rev. b | page 49 of 92 clock management, internal regulator , and pll control register 16384 (0 x 4000) , clock c ontrol the clock control register sets the clocking scheme for the adau1781 . the system clock can be generated from either the pll or directly from the mck i (master clock input) pin. addi - tionally, the mcko (master clock output) pin can be configured. bits[6:5], mcko frequency these bits set the frequency to be output on mcko as a multiple of the base sampling fre quency (32, 64, 128, or 256). the mcko pin can be used to provide digital microphones with a clock. bit 4, mcko enable this bit enables or disables the mcko pin . bit 3, clock source select the clock source select bit either routes the mclk input throug h the pll or bypasses the pll. when using the pll, the output of the pll is always 1024 f s , and bits[2:1] should be set to 11. pll parameters can be se t in the pll control register. inputs d irect ly from mc ki require an exact clock rate as described in t he bits[2:1], input master clock frequency section . bits[2:1], input master clock frequency the maximum clock speed allowed is 1024 48 khz. these bits set the expected input master clock frequency for proper clo ck divider values in order to output a constant system clock of 256 f s . when using the pll, these bits must always be set to 1024 f s . when bypassing the pll, the ext ernal clock frequency on the mc ki pin must be 256 f s , 512 f s , 768 f s , or 1024 f s . table 35 and table 36 show the relationship between the system clock and the internal master clock for base sampling frequencies of 44.1 khz and 48 khz. bit 0, core clo ck enable this bit enables the internal master clock to start the ic. table 34. c lock c ontrol r egister bits description default 7 reserved [6:5] mcko frequency 00 00: 32 f s 01: 64 f s 10: 128 f s 11: 256 f s 4 mcko enable 0 0: disabled 1: enabled 3 clock source select 0 0: direct from mcki pin 1: pll clock [2:1] input master clock frequency 00 00: 256 f s 01: 512 f s 10: 768 f s 11: 1024 f s 0 core clock enable 0 0: core clock d isabled 1: core clock enabled table 35 . core clock output for f s = 44.1 khz mclk input setting mclk input value mclk input divider core clock 256 f s 11.2896 mhz 1 11.2896 mhz 512 f s 22.5792 mhz 2 11.2896 mhz 768 f s 33 .8688 mhz 3 11.2896 mhz 1024 f s 45.1584 mhz 4 11.2896 mhz table 36. core clock output for f s = 48 khz mclk input setting mclk input value mclk input divider core clock 256 f s 12.288 mhz 1 12.288 mhz 512 f s 24.576 mhz 2 12 .288 mhz 768 f s 36.864 mhz 3 12.288 mhz 1024 f s 49.152 mhz 4 12.288 mhz
adau1781 rev. b | page 50 of 92 register 16385 (0 x 4001) , regulator control bits[2:1], regulator output level these bits set the regulated voltage output for the digital core, dvddout. after the initializatio n sequence has completed, the regulator output is set to 1.4 v. the recommended regulator output level when the device begins to process audio is 1.5 v. therefore, this register s hould be set to 1.5 v when the sigmadsp core is being configured. register 16386 (0x4002), pll control this is a 48 - bit register that must be written to in a single burst write. pll operating parameters are used to scale the mclk input to the desired clock core in order to obtain an appropriate pll clock (pll output frequency). the pll can be configured for either fractional or integer - n type mclk inputs. bits[47:40], denominator msb byte 1, m[15:8] of the denominator (m) for fractional part of feed - back divider. this is concatenated with denominator lsb, m[7:0]. bits[39:32], denomi nator lsb byte 0, m[7:0] of the denominator (m) for fractional part of feed - back divider. this is concatenated with denominator msb, m[15:8]. bits[31:24], numerator msb byte 1, n[15:8] of the numerator (n) for fractional part of the feed - back divider. this is concatenated with numerator lsb, n[7:0]. bits[23:16], numerator lsb byte 0, n[7:0] of the numerator (n) for fractional part of the feed - back divider. this is concatenated with numerator msb, n[15:8]. bits[14:11], integer integer (r) parameter used in b oth integer - n and fractional pll operation. this value must be between 2 and 8. bits[10:9], input divider the input divider (x) divides the input clock to offer a wider range of input clocks. bit 8, pll type this selects the type of pll operation, fractio nal or integer -n. fractional type pll fractional type mclk inputs are scaled to the corresponding desired core clock input using the parameters outlined in table 39 and tab le 40 as examples of typical base sampling frequencies (44.1 khz and 48 khz). a numerical - controlled oscillator is used to divide the pll_clk by a mixed number given by the addition of the integer part (r) and fractional part (n/m). for example, i f the m clk is 12 mhz, the required clock is 12.288 mhz, and f s is 48 khz, then the pll clock is 49.152 mhz because pll clock is always 1024 f s ; therefore, pll clock / mclk = 4.096 = 4 + (12/125) = r + ( n / m ) in this case, the input divider is x = 1. this allows t he mclk input to emulate the desired required clock and output a 49.152 mhz pll clock. figure 29 shows how the pll uses the parameters to emulate the required 12.288 mhz clock. integer - n type pll integer - n type mcl k inputs are any integer multiple of the desired core clock. the fractional part (n/m) is 0; however, the pll type bit must be set for integer - n. bit 1, pll lock the pll lock bit is a read - only bit. reading a 1 from this bit indicates that the pll has lock ed to the input master clock. bit 0, pll enable this bit enables the pll. table 37 . regulator c ontrol r egister bit s description default [7:3] reserved [2:1] regulator output level 01 00: 1.5 v 01: 1.4 v 10: 1.6 v 11 : 1.7 v 0 reserved
adau1781 rev. b | page 51 of 92 table 38. pll c ontrol r egister bit s description default [47:40] denominator msb 00000111 00000000 and 00000000: m[15:8] and m[7:0] = 0 00000000 and 11111101: m[15:8] and m[7:0] = 125 1111 1111 and 11111111: m[15:8] and m[7:0] = 65,535 [39:32] denominator lsb 01010011 00000000 and 00000000: m[15:8] and m[7:0] = 0 00000000 and 11111101: m[15:8] and m[7:0] = 125 11111111 and 11111111: m[15:8] and m[7:0] = 65,535 [31:24] numerator msb 000000 10 00000000 and 00000000: n[15:8] and n[7:0] = 0 00000000 and 00001100: n[15:8] and n[7:0] = 12 11111111 and 11111111: n[15:8] and n[7:0] = 65,535 [23:16] numerator lsb 10000111 00000000 and 00000000: n[15:8] and n[7:0] = 0 00000000 and 00001100: n[15:8] and n[7:0] = 12 11111111 and 11111111: n[15:8] and n[7:0] = 65,535 15 reserved [14:11] integer 00 11 0010: r = 2 0011: r = 3 0100: r = 4 0101: r = 5 0110: r = 6 0111: r = 7 1 000: r = 8 [10:9] input divider 00 00: no division 01: divide by x = 2 10: divide by x = 3 11: divide by x = 4 8 pll type 1 0: integer -n 1: fractional [7:2] reserved 1 pll lock (read only) 1 0: unlocked 1: locked (sticky bit) 0 pll enable 1 0: disabled 1: enabled
adau1781 rev. b | page 52 of 92 table 39 . fractional pll parameter settings for f s = 44.1 khz (f s = 44.1 khz, core clock = 256 44.1 khz, pll clock = 45.1584 mhz) mclk input (mhz) input divider (x) integer (r) denomi nator (m) numerator (n) 12 1 3 625 477 13 1 3 8125 3849 14.4 1 3 125 17 19.2 1 2 125 44 19.68 1 2 2035 302 19.8 1 2 1375 386 table 40 . fractional pll parameter settings for f s = 48 khz (f s = 48 khz, core clock = 256 48 khz , pll clock = 49.152 mhz) mclk input (mhz) input divider (x) integer (r) denominator (m) numerator (n) 12 1 4 125 12 13 1 3 1625 1269 14.4 1 3 75 31 19.2 1 2 25 14 19.68 1 2 205 102 19.8 1 2 825 398
adau1781 rev. b | page 53 of 92 record path configur ation register 16392 (0x4008 ), digital microphone and analog beep control this register controls the digital microphone settings and the analog beep input gain. bits[5:4], digital microphone enable these bits control the enable function for the stereo digital microphones. the analog front end is powered down when using a digital microphone. bit 3, beep input mute this bit mutes the beep input. bits[2:0], beep input gain this bit controls the gain setting for the analog beep input ; it defaults at 0 db and can be set as high as 32 db. the beep signal must be enabled in register 16400 (0x4010), microphone bias control and beep enable . table 41. digital m icrophone and a nalog b eep c ontrol r egister bit s description default [7:6] reserved [5:4] digital microphone enable 00 00: disabled 01: micd1 enabled 10: micd2 enabled 11: reserved 3 beep input mute 0 0: mute d 1: unmute d [2:0] beep input gain. note that setting 100 sets the input beep gain to ?23 db. 000 000: 0 db 001: +6 db 010: +10 db 011: +14 db 100: ?23 db 101: +20 db 110: +26 db 111: +32 db
adau1781 rev. b | page 54 of 92 register 16393 (0x4009) , record power management this register manages the power consumption for the record path. in particular, the current distribution for the mixer boosts, adc, front - end mixer , and pgas can be set in one of four modes. the four modes of operation available that affect the performance of the device are normal operation, power saving, enhanced perform ance , and extreme power saving . normal operation has a base current of 2.5 a, enhanced performance has a bas e current of 3 a, power saving has a base current of a 2 a, and extreme power saving has a base current of 1.5 a. enhanced performance offers the highest performance , but wi th the trade - off of higher power consumption. bits[6:5], mixer amp lifier boost these bits set the power mode of operation for the front - end mixer boost. with higher avdd1 levels, distortion may become an issue affecting performance. each boost level enhan ces the thd + n performance at 3.3 v avdd1. bits[4:3], adc bias control these bits set the bias current for the adcs based on the mode of operation selected. bits[2:1], front - end bias control these bits set the bias current for the pgas and mixers in the f ront - end record path . table 42. record p ower m anagement r egister bit s description default 7 reserved [6:5] mixer amplifier boost 00 00: normal operation 01: boost level 1 10: boost level 2 11: boost level 3 [4:3] a dc bias control 00 00: normal operation 01: extreme power saving 10: power saving 11: enhanced performance [2:1] front - end bias control 00 00: normal operation 01: extreme power saving 10: power saving 11: enhanced performance 0 r eserved
adau1781 rev. b | page 55 of 92 register 16398 (0x400e) , record gain left pga the record gain left pga control register controls the left channel input pga. this register configures the input for either differ - ential or single - ended signals and sets the left channel input re cording volume. bits[7:5], left input gain these bits set the left channel analog microphone input pga gain. bit 2, single - ended left input enable if this bit is high (enabled) , a single - ended input can be input on the lmic pin and gained by the pga. the p ositive differential input pin ( lmicp ) is disabled , and the compl e mentary input of the pga is switched to common mode. bit 1, record path left mute this bit mutes the left channel input pga. bit 0, left pga enable this bit enables the left channel input pg a table 43 . record g ain l eft pga register bit s description default [7:5] left input gain 000 000: 0 db 001: 6 db 010: 10 db 011: 14 db 100: 17 db 101: 20 db 110: 26 db 111: 32 db [4:3] reserved 2 sing le - ended left input enable 0 0: disable d 1: enable d 1 record path left mute 0 0: mute d 1: unmute d 0 left pga enable 0 0: disable d 1: enable d
adau1781 rev. b | page 56 of 92 register 16399 (0x400f) , record gain right pga the record gain right pga control register c ontrols the right channel input pga. this register configures the input for either differential or single - ended signals and sets the right channel input recording volume. bits[7:5], right input gain these bits set the right channel analog microphone input pga gain. bit 2, single - ended right input enable if this bit is high (enabled), a single - ended input can be input on the rmic pin and gained by the pga. the positive differential input pin ( rmicp ) is disabled, and the compl e mentary input of the pga is swit ched to common mode. bit 1, record path right mute this bit mutes the entire right channel input pga. bit 0, right pga enable this bit enables the right channel pga. table 44. record gain r ight pga r egister bit s description defa ult [7:5] right input gain 000 000: 0 db 001: 6 db 010: 10 db 011: 14 db 100: 17 db 101: 20 db 110: 26 db 111: 32 db [4:3] reserved 2 single - ended right input enable 0 0: disable d 1: enable d 1 record path right mute 0 0 : mute d 1: unmute d 0 right pga enable 0 0: disable d 1: enable d
adau1781 rev. b | page 57 of 92 register 16400 (0x4010) , mic rophone bias control and beep enable bit 4, beep input enable this bit enables the beep signal, which is input to the beep pin. setting this bit to 0 mute s the beep signal for all output paths. bit 3, microphone high performance this bit puts the microphone bias into high performance mode, by offering more current to the microphone. bit 2, microphone gain provides two voltage bias options , 0.65 avdd1 and 0.90 avdd1. a higher bias contributes to a higher microphone gain. the maximum current that can be drawn from micbias is 5 ma. bit 0, microphone bias enable this bit enables the micbias output. table 45. mic rophone bias con trol and beep enable register bit s description default [7:5] reserved 4 beep input enable 0 0: disabled 1: enabled 3 microphone high performance 0 0: high power 1: low performance 2 microphone gain 0 0: enabled 1: disabled 1 reserve d 0 microphone bias enable 0 0: disabled 1: enabled
adau1781 rev. b | page 58 of 92 serial port configur ation register 16405 (0x4015) , serial port control 0 bit 5, lrclk mode this bit sets the serial port frame clock (lrclk) as either a 50 duty cycle waveform or a pulse sync hronization waveform. when in slave mode, the pulse should be at least 1 bclk cycle wide to guarantee proper data transfer. bit 4, bclk polarity this bit sets the polarity of the bit clock (bclk) signal. this setting determines whether the data and frame c lock signals change on a rising () or falling ( ) edge of the bclk signal (see figure 59) . standard i 2 s signals use negative bclk polarity. bit 3, lrclk polarity the polarity of lrclk determines whether the left stereo channel is initiated on a risi ng () o r falling ( ) edge of the lrclk signal (see figure 60 ) . standard i 2 s signals use negative lrclk polarity. bits[2:1], channels per frame these bits set the number of channels contained in the data stream (se e figure 61) . the possible choices are stereo (used in standard i 2 s signals), tdm 4 (a 4 - channel time division multiplexed stream), or tdm 8 (an 8 - channel time division multiplexed stream). the tdm output modes are simply multichannel data streams, and the data pin does not become high impedance during periods when it is not outputting data. within a tdm stream, channels are grouped by pair, as shown in figure 62 . bit 0, se rial data port mode this bit sets the clock pins as either master or slave. both lrclk and bclk are the bus master of the serial port when master mode is enabled. table 46 . serial port control 0 register bit s description default [7:6] reserved 5 lrclk mode 0 0: 50% duty cycle clock 1: pulse mode; pulse should be at least 1 bclk wide 4 bclk polarity 0 0: data changes on falling ( ?) edge 1: data changes on rising (+) edge 3 lrclk polarity 0 0: left frame starts on falling ( ?) edge 1: left frame starts on rising (+) edge [2:1] channels per frame 00 00: stereo (two channels) 01: tdm 4 (four channels) 10: tdm 8 (e ight channels) 11: reserved 0 serial data port mode 0 0: slave 1: master
adau1781 rev. b | page 59 of 92 lrclk bclk sdata lrclk bclk sdata bclk polarity 08314-055 figure 59 . serial port bclk polarity l r l r l r lrclk lrclk lrclk polarity 08314-056 figure 60 . serial port lrclk polarity lrclk stereo channels 1 1/ f lrclk 2 tdm 4 channels 1 2 3 4 tdm 8 channels 1 2 3 4 5 6 7 8 08314-057 figure 61 . c hannels per frame 1/ f lrclk lrclk tdm 4 channels 1 2 3 4 tdm 8 channels 1 2 3 4 5 6 7 8 first pair first pair second pair third pair fourth pair second pair 08314-058 figure 62 . tdm channel pairs
adau1781 rev. b | page 60 of 92 register 16406 (0x4016) , serial port control 1 bits[7:5], number of bit clock cycles per frame these bits set the number of bclk cycles contained in one lrclk period. the frequenc y of bclk is calculated as the number of bit clock cycles per frame times the sample rate of the serial port in hertz. figure 63 and figure 64 show examples of different se ttings for these bits. bit 4, adc channel position in tdm this register sets the order of the adc channels when output on the serial output port. a setting of 0 puts the left channel first in its respective tdm channel pair. a setting of 1 puts the right c hannel first in its respective tdm channel pair. this bit should be set in conjunction with register 16408 (0x4018), converter control 1, bits[1:0], on - chip adc data selection in tdm mode , to select where the data should appear in the tdm stream. figure 65 shows a setting of 0, and figure 66 shows a setting of 1. bit 3, dac channel position in tdm this register sets the order of the dac channels when output on the serial out put port. a setting of 0 puts the left channel first in its respective tdm channel pair. a setting of 1 puts the right channel first in its respective tdm channel pair. this bit should be set in conjunction with register 16407 (0x4017), converter control 0 , bits [6:5], on - chip dac data selection in tdm mode , to select where the data should appear in the tdm stream. figure 65 shows a setting of 0, and figure 66 shows a setting of 1. bit 2, msb position this bit sets the bit - level endianness (or bit order) of the data stream. a setting of 0 results in a big - endian order , with the msb coming first in the stream and the lsb coming last. a setting of 1 results in a little - endian o rder , with the lsb coming first in the stream and the msb coming last. figure 67 shows examples of the two settings with a 24 -b it audio stream in an msb delay - by -0 configuration. in figure 67 , m stands for msb, and l stands for lsb. bits[1:0], data delay from lrclk edge these bits set the delay between the lrclk edge and the first data bit in the stream. the i 2 s standard is a delay of one bclk cycle. examples of different data delay settings are shown in figure 68 , with a 64 bclk cycle per frame, 24 - bit audio data, big - endian bit order configuration. in figure 68, m represents the most significant bit of the audio channels data , and l represents the least significant bit. the first example setting (delay by 0) in figure 68 represents a left - justified mode because the least significant bit aligns with t he beginning of the audio frame. the third example setting (delay by 8) represents a right - justified mode because the least significant bit aligns with the end of the audio frame. a delay - by - 16 setting would not be valid in this mode because the audio data would exceed the boundaries of the frame clock period. figure 69 shows an example of delay by 16 for a 16 - bit audio stream with 64 bclk cycles per frame. table 47 . serial port control 1 re gister bit s description default [7:5] number of bit clock cycles per frame 000 000: 64 001: 32 010: 48 011: 128 100: 256 101: reserved 110: reserved 111: reserved 4 adc channel position in tdm 0 0: left first 1: right first 3 dac channel position in tdm 0 0: left first 1: right first 2 msb position 0 0: msb first 1: msb last [1:0] data delay from lrclk edge 00 00: 1 bclk cycle 01: 0 bclk cycles 10: 8 bclk cycles 11: 16 bclk cycles
adau1781 rev. b | page 61 of 92 1/ f lrclk lrclk bclk 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 08314-059 figure 63 . example: 32 bclk cycles per frame 1/ f lrclk lrclk bclk 1 2 3 4 5 6 7 8 9 10 41 42 43 44 45 46 47 48 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 08314-060 figure 64 . example: 48 bclk cycles per frame 1/ f lrclk lrclk tdm 4 channels left right left right tdm 8 channels left right left right left right left right first pair first pair second pair third pair fourth pair second pair 08314-061 figure 65 . left first channel selection in tdm 1/ f lrclk lrclk tdm 4 channels right left right left tdm 8 channels right left right left right left right left first pair first pair second pair third pair fourth pair second pair 08314-062 figure 66 . right first channel selection in tdm bclk 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 msb first m l lsb first l m 08314-063 figure 67 . msb position settings
adau1781 rev. b | page 62 of 92 lrclk bclk s e rial data (delay by 0) serial data (delay by 1) serial data (delay by 8) 1 2 3 4 9 17 14 11 19 16 21 24 34 26 35 27 31 33 37 45 42 39 47 44 49 57 54 51 59 56 61 63 m l m l m l m l m l m l 1/ f lrclk 08314-064 figure 68 . serial audio data delay example settings lrclk bclk serial data (delay by 16) 1/ f lrclk 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 3432 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 m l m l 08314-065 figure 69 . serial audio data delay by 16 example
adau1781 rev. b | page 63 of 92 audio conve rter configuration register 16407 (0x4017) , converter control 0 bits[6:5], on - chip dac data selection in tdm mode th ese bits set the position of the dac input channels on a tdm stream. in tdm 4 mode, valid settings are first pair or second pair. in tdm 8 m ode, valid settings are first pair, second pair, third pair, or fourth pair. these bits should be set in conjunction with register 16406 (0x4016), serial port control 1, bit 3, dac channel position in tdm, to select where the data should appear in the tdm stream. figure 70, figure 71 , and figure 72 show examples of different tdm settings. bit 4, dac oversampling ratio this bit sets t he oversampling ratio of the dac relative to the audio sample rate. the higher rate yields slightly better audio quality but increases power consumption. bit 3, adc oversampling ratio this bit sets the oversampling ratio of the adc relative to the audio sa mple rate. the higher rate yields slightly better audio quality but increases power consumption. bits[2:0], converter sampling rate these bits set the sampling rate of the audio adcs and dacs relative to the sigmadsp cores audio sample rate. table 48 . converter control 0 register bit s description default 7 reserved [6:5] on - chip dac data selection in tdm mode 00 00: first pair 01: second pair 10: third pair 11: fourth pair 4 dac oversampling ratio 0 0: 128 1: 64 3 adc oversampling ratio 0 0: 128 1: 64 [2:0] converter sampling rate ; the numbers in parentheses are example values for a base sample rate of 48 khz 000 000: f s (48 khz) 001: f s /6 (8 khz) 010: f s /4 (12 khz) 011: f s /3 (16 khz) 100: f s /2 (24 khz) 101: f s /1.5 (32 khz) 110: f s 2 (96 khz) 111: reserved
adau1781 rev. b | page 64 of 92 1/ f lrclk lrclk tdm 4 channels left right tdm 8 channels left right first pair first pair second pair third pair fourth pair second pair 08314-066 figure 70 . example of left channel first, first pair tdm setting 1/ f lrclk lrclk tdm 4 channels right left tdm 8 channels right left first pair first pair second pair third pair fourth pair second pair 08314-067 figure 71 . example of right channel first, second pair tdm setting 1/ f lrclk lrclk tdm 8 channels left right first pair second pair third pair fourth pair 08314-068 figure 72 . example of left channel first, fourth pair tdm setting
adau1781 rev. b | page 65 of 92 register 16408 (0x4018) , converter control 1 bits[1:0], on - chip adc data selection in tdm mode these bits set the position of the adc output channels on a tdm stream. in tdm 4 mode, valid settings are first pair or second pair. in tdm 8 mode, valid settings are first pair, second pair, third pair, or fourth pair. these bits should be set in conjunction with register 16406 (0x4016), serial port con trol 1, bit 4, adc channel position in tdm, to select where the data should appear in the tdm stream. figure 70, figure 71 , and fig ure 72 show examples of different tdm settings. table 49 . converter control 1 register bit s description default [7:2] reserved [1:0] on - chip adc data selection in tdm mode 00 00: first pair 01: second pair 10: third pa ir 11: fourth pair
adau1781 rev. b | page 66 of 92 register 16409 (0x4019) , adc control bit 6, invert input polarity this bit enables an optional polarity inverter in the adc path, which is an amplifier with a gain of ?1, representing a 180 phase shift. bit 5, high - pass filter select this bit enables an optional high - pass filter in the adc path, with a cutoff frequency of 2 hz when f s = 48 khz. the cutoff frequency sca les linearly with f s . bit 4, digital microphone data polarity swap this bit inverts the polarity of valid data states for the digital microphone data stream. a typical pdm microphone can drive its data output pin either high or low, not both. this bit must be configured accordingly to recognize a valid output state of the microphone. the default is negative, meaning that a digital logic low signal is recognized by the adau1781 as a pulse in the pdm signal. bit 3, digital microphone channel swap this bit all ows the left and right channels of the digital microphone input to swap. standard mode is the left channel on the rising edge and the right channel on the falling edge. swapped mode is the right channel on the rising edge and the left channel on the fallin g edge. bit 2, digital microphone input select this bit must be enabled to use the digital microphone inputs. when this bit is asserted, the on - chip adcs are off, bclk is the master at 128 f s , and adc_sdata is expected to have the left and right channel s interleaved. this bit must be disabled to use the adcs . bits[1:0], adc enable these bits must be configured to use the adcs. adc channels can be enabled or disabled individually. table 50 . adc control register bit s description de fault 7 reserved 6 invert input polarity 0 0: normal 1: inverted 5 high - pass filter select 0 0: disable d 1: enable d 4 digital microphone data polarity swap 0 0: negative 1: positive 3 digital microphone channel swap 0 0: standard mode 1: swapped mode 2 digital microphone input select 0 0: digital microphone input off 1: select digital microphone input, adcs off [1:0] adc enable 00 00: both off 01: left on 10: right on 11: both on
adau1781 rev. b | page 67 of 92 register 16410 (0x401a) , left adc attenuator bits[7:0], left adc digital attenuator these bits control a 256 - step , logarithmically spaced volume control from 0 db to ?95.625 db, in increments of 0.375 db. when a new value is entered into this register, the volume control slews gradually to the new value, avoiding pops and clicks in the process. the slew ramp is logari thmic, incrementing 0.375 db per audio frame. register 16411 (0x401b), right adc attenuator bits[7:0], right adc digital attenuator these bits control a 256 - step , logarithmically spaced volume control from 0 db to ?95.625 db, in increments of 0.375 db. whe n a new value is entered into this register, the volume control slews gradually to the new value, avoiding pops and clicks in the process. the slew ramp is logarithmic, incrementing 0.375 db per audio frame. table 51. left adc att enuator register bit s description default [7:0] left adc digital attenuator ; attenuation is in increments of 0.375 db with each step of slewing 00000000 00000000: 0 db 00000001: ?0.375 db 00000010: ?0.75 db 11111110: ?95.25 db 11111111: ?95.625 db table 52. right adc attenuator register bit s description default [7:0] right adc digital attenuator ; attenuation is in increments of 0.375 db w ith each step of slewing 00000000 00000000: 0 db 00000001: ?0.375 db 00000010: ?0.75 db 11111110: ?95.25 db 11111111: ?95.625 db
adau1781 rev. b | page 68 of 92 playback path config uration register 16412 (0x401c) , playback mixer left control bit 5, left dac mute t his bit mutes the left dac output. it does not have any slew and is updated immediately when the register write has been completed. this results in an abrupt cutoff of the audio output and should therefore be preceded by a soft mute in the sigmadsp core or a slew mute using the dac attenuator. bits[4:1], left playback beep gain these bits set the gain of the beep signal in the left playback path. if the zero - crossing detector is activated, the change in gain is applied on the next detected zero crossing or when the timeout period expires, whichever comes first. the gain control is in 3 db increments and should not be incremented more than 3 db at a time in order to avoid audible artifacts on the output. register 16414 (0x401e), playback mixer right control b it 6, right dac mute this bit mutes the right dac output. it does not have any slew and is updated immediately when the register write has been completed. this results in an abrupt cutoff of the audio output and should therefore be preceded by a soft mute in the sigmadsp core or a slew mute using the dac attenuator. bits[4:1], right playback beep gain these bits set the gain of the beep signal in the right playback path. if the zero - crossing detector is activated, the change in gain is applied on the next d etected zero crossing or when the timeout period expires, whichever comes first. the gain control is in 3 db increments and should not be incremented more than 3 db at a time in order to avoid audible artifacts on the output. table 53 . playback mixer left control register bit s description default [7:6] reserved 5 left dac mute 0 0: mute d 1: unmute d [4:1] left playback beep gain 0000 0000: mute d 0001: ?15 db 0010: ?12 db 0011: ?9 db 0100: ?6 db 0101: ?3 db 0110: 0 db 0111: +3 db 1000: +6 db 0 reserved table 54 . playback mixer right control register bit s description default 7 reserved 6 right dac mute 0 0: mute d 1: unmute d 5 reserved [4:1] right playback beep gain 0000 0000: mute d 0001: ?15 db ... 1000: +6 db 0 reserved
adau1781 rev. b | page 69 of 92 register 16415 (0x401f) , playback mono mixer control bit 7, left dac mute this bit mutes the left dac output, but does not power down the dac. use of this bit does not result in power savings. bit 6, rig ht dac mute this bit mutes the right dac output, but does not power down the dac. use of this bit does not result in power savings. bits[5:2], mono playback beep gain these bits set the gain of the beep output signal in mono mode. if the zero - crossing dete ctor is active, then the gain change takes place on the next zero crossing in the beep signal or when the timeout occurs, whichever comes first. bit 0, mono output mute this bit mutes the mono line output. register 16416 (0x4020), playback clamp amp contro l the playback clamp amp is an amplifier on the line out put path. if the line outputs are muted using register 16421 (0x4025), left line output mute, or register 16422 (0x4026), right line output mute, this amplifier serves to maintain a common - mode voltag e on the line output pins. this helps to avoid a pop or click when the line outputs are reenabled. bit 1, clamp amplifier power saving mode the clamp amp lifier has two operating modes : high power mode and low power mode . the high power mode has more curren t available to maintain a stable common - mode voltage on the output pins. the low power mode may be slightly less stable , depending on operating conditions, but saves several microamps. bit 0, clamp amp lifier control this bit enables or disables the clamp a mp. it is enabled by default. the clamp amp should usually be enabled in systems where the line outputs are used. table 55 . playback mono mixer control register bits description default 7 left dac mute 0 0: mute d 1: unmute d 6 right dac mute 0 0: mute d 1: unmute d [5:2] mono playback beep gain 0000 0000: mute d 0001: ?15 db 0010: ?12 db 0011: ?9 db 0100: ?6 db 0101: ?3 db 0110: 0 db 0111: +3 db 1000: +6 db 1 reserved 0 mono output mute (acti ve low) 0 0: mute d 1: unmute d table 56 . playback clamp amp lifier control register bits description default [7:2] reserved 1 clamp amplifier power saving mode 1 0: high power 1: low power 0 clamp amplifier control 0 0: enable d 1: disable d
adau1781 rev. b | page 70 of 92 register 16421 (0x4025) , left line output mute bit 1, left line out put mute this bit mutes the left line output. it does not have any effect on the speaker outputs. register 16422 (0x4026), right line output mute bit 1, rig ht line out put mute this bit mutes the right line output. it does not have any effect on the speaker outputs. table 57 . left line output mute register bits description default [7:2] reserved 1 left line output mute (active low) 0 0: mute d 1: unmute d 0 reserved table 58 . right line output mute register bits description default [7:2] reserved 1 right line output mute (active low) 0 0: mute d 1: unmute d 0 reserved
adau1781 rev. b | page 71 of 92 register 16423 (0x40 27) , playback speaker output control bits[7:6], speaker output gain control these bits control the gain of the speaker output. in general, this parameter should be tuned at a system level, set once during system initialization and not altered during operat ion of the system. bit 0, speaker output enable this bit enables the speaker output. it initiates the speaker power - up and power - down sequences shown in figure 35 and figure 36 . register 16424 (0x4028), beep zero - crossing detector control bits[4:3], detector timeout the timeout detector waits the specified amount of time for a beep zero crossing before forcing the mute or unmute in the playback path beep gains (that is, the left playback beep gain, right playback beep gain, and mono playback beep gain). bit 0, zero - crossing detector enable this bit enables the zero - crossing detector. disabling the beep zero - crossing detector may cause clicks and pops on the output when using the beep path. table 59 . playback speaker output control register bits description default [7:6] speaker output gain control 00 00: 0 db 01: 2 db 10: 4 db 11: 6 db [5:1] reserved 0 speaker output enable 0 0: dis able d 1: enable d table 60 . beep zero - crossing detector control register bits description default [7:5] reserved [4:3] detector timeout 11 00: 20 ms 01: 10 ms 10: 5 ms 11: 2.5 ms [2:1] reserved 0 zero - crossing detector enable 1 0: disable d 1: enable d
adau1781 rev. b | page 72 of 92 register 16425 (0x4029) , playback power management this register controls the unity current supplied to each functional block described. within the functional blocks, the current can be multiplied. normal operation has a ba se current of 2.5 a, enhanced performance has a base current of 3 a, power saving has a base current of 2 a , and extreme power saving has a base current of 1.5 a . enhanced performance mode offers the best audio quality but also uses the most current. b it [7 :6] , speaker amp lifier bias control th ese bit s control the amount of unity bias current allotted to the speaker amplifier. bits[5:4], dac bias control th ese bit s control the amount of unity bias current allotted to the dac. bits[3:2], back - end bias control th ese bit s control the amount of unity bias current allotted to the playback mixers and amplifiers. bit 1, back - end right enable this bit enables the playback mixers and amplifiers. bit 0, back -end left enable this bit enables the playback mixers and amplifiers. table 61 . playback power management register bits description default [7:6] speaker amplifier bias control 00 00: normal operation 01: power saving 10: enhanced performance 00: reserved [5:4] dac bias co ntrol 00 00: normal operation 01: extreme power saving 10: power saving 0 0: enhanced performance [3:2] back - end bias control 00 00: normal operation 01: extreme power saving 10: power saving 0 0: enhanced performance 1 back - end rig ht enable 0 0: disable d 1: enable d 0 back - end left enable 0 0: disable d 1: enable d
adau1781 rev. b | page 73 of 92 register 16426 (0x402a) , dac control bits[7:6], mono mode these bits control the output mode of the dac. setting these bits to 00 outputs two distinct chann els, left and right. setting these bits to 01 outputs the left input channel on both the left and right outputs, and the right input channel is lost. setting these bits to 10 outputs the right input channel on both the left and right outputs, and the left input channel is lost. setting these bits to 11 mixes the left and right input channels and outputs the mixed mono signal on both the left and right outputs. bit 5, invert input polarity this bit applies a gain of ?1, or a 180 phase shift, to the dac outp ut signal. bit 2, dac de -e mphasis filter enable this bit enables a de - emphasis filter and should be used when a preemphasized signal is input to the dacs. bits[1:0], dac enable these bits allow the dacs to be individually enabled or disabled. disabling unu sed dacs can result in significant power savings. table 62 . dac control register bits description default [7:6] mono mode 00 00: stereo output 01: both output left channel 10: both output right channel 11: both output left/right mix 5 invert input polarity 0 0: normal 1: inverted [4:3] reserved 2 dac de - emphasis filter enable 0 0: disabled 1: enabled [1:0] dac enable 00 00: both off 01: left on 10: right on 11: both on
adau1781 rev. b | page 74 of 92 register 16427 (0 x402b) , left dac attenuator bits[7:0], left dac digital attenuator these bits control a 256 - step , logarithmically spaced volume control from 0 db to ?95.625 db, in increments of 0.375 db. when a new value is entered into this register, the volume control slews gradually to the new value, avoiding pops and clicks in the process. the slew ramp is logari thmic, incrementing 0.375 db per audio frame. register 16428 (0x402c), right dac attenuator bits[7:0], right dac digital attenuator these bits control a 256 - step , logarithmically spaced volume control from 0 db to ?95.625 db, in increments of 0.375 db. whe n a new value is entered into this register, the volume control slews gradually to the new value, avoiding pops and clicks in the process. the slew ramp is logarithmic, incrementing 0.375 db per audio frame. table 63 . left dac att enuator register bits description default [7:0] left dac digital attenuator, in increments of 0.375 db with each step of slewing 00000000 00000000: 0 db 00000001: ?0.375 db 00000010: ?0.75 db 11111110: ?95. 25 11111111: ?95.625 db table 64 . right dac attenuator register bits description default [7:0] right dac digital attenuator, in increments of 0.375 db with each step of slewing 00000000 00000000: 0 db 00000001: ?0.375 db 00000010: ?0.75 db 11111110: ?95. 25 11111111: ?95.625 db
adau1781 rev. b | page 75 of 92 pad configuration figure 73 shows a block diagram of the pad design for the gpio/serial port and communications port pins. pad output pull-up enable (controls pmos) data out digital supply i/o supply debounce level shifter pull-up enable pull-down enable level shifter input esd level shifter weak pull-up/pull-down 240k ? nominal 190k ? worst case input enable debounce enable 6 12 output enable data in output control logic weak pull-up enable weak pull-down enable drive strength (controls number of parallel transistor pairs) iovdd = 3.3v; low = 2.0ma, high = 4.0ma iovdd = 1.8v; low = 0.75ma, high = 1.5ma 08314-069 figure 73 . pad configuration, internal design
adau1781 rev. b | page 76 of 92 register 16429 (0x402d) , serial port pad control 0 bits[7:6], adc_sdata pad pull - up/ pull - down th ese bits enable or disable a weak pull - up or pull - down device on the pad. the effective resistance of the pull - up or pull - down is nominally 240 k ?. bits[5:4], dac_sdata pad pull - up/ pull - down th ese bits enable or disable a weak pull - up or pull - down device on the pad. the effective resistance of the pull - up or pull - down is nominally 240 k ?. bits[3:2], lrclk pad pull - up/ pull - down th ese bits enable or disable a weak pull - up or pull - down device on the pad. the effective resistance of the pull - up or pull - down is nominally 240 k ?. bits[1:0], bclk pad pull - up/ pull - down these bits enable or disable a weak pull - up or pull - down device on the pad. the effective resistance of the pull - up or pull - down is nominally 240 k ?. table 65 . serial port pad control 0 register bits descript ion default [7:6] adc_sdata pad pull - up/pull- down 11 00: pull -up 01: reserved 10: none (default) 11: pull - down [5:4] dac_sdata pad pull - up/pull- down 11 00: pull -up 01: reserved 10: none (default) 11: pull - down [3:2] lrclk pad pul l- up/pull - down 11 00: pull -up 01: reserved 10: none (default) 11: pull - down [1:0] bclk pad pull - up/pull- down 11 00: pull -up 01: reserved 10: none (default) 11: pull - down
adau1781 rev. b | page 77 of 92 re gister 16430 (0x402e) , serial port pad control 1 bit 3, adc_sdata pin drive strength this bit sets the drive strength of the adc_sdata pin. low mode yields 2 ma when iovdd = 3.3 v, or 0.75 ma when iovdd = 1.8 v. high mode yields 4 ma when iovdd = 3.3 v, or 1.5 ma when iovdd = 1.8 v. bit 2, dac_sdata pin drive strength this bit sets the drive strength of the dac_sdata pin. low mode yields 2 ma when iovdd = 3.3 v, or 0.75 ma when iovdd = 1.8 v. high mode yields 4 ma when iovdd = 3.3 v, or 1.5 ma when iovdd = 1.8 v. bit 1, lrclk pin drive strength this bit sets th e drive strength of the lrclk pin. low mode yields 2 ma when iovdd = 3.3 v, or 0.75 ma when iovdd = 1.8 v. high mode yields 4 ma when iovdd = 3.3 v, or 1.5 ma when iovdd = 1.8 v. bit 0, bclk pin drive strength this bit sets the drive strength of the bclk p in. low mode yields 2 ma when iovdd = 3.3 v, or 0.75 ma when iovdd = 1.8 v. high mode yields 4 ma when iovdd = 3.3 v, or 1.5 ma when iovdd = 1.8 v. table 66 . serial port pad control 1 register bits description default [7:4] reser ved 3 adc_sdata pin drive strength 0 0: low 1: high 2 dac_sdata pin drive strength 0 0: low 1: high 1 lrclk pin drive strength 0 0: low 1: high 0 bclk pin drive strength 0 0: low 1: high
adau1781 rev. b | page 78 of 92 register 16431 (0x402f) , communicati on port pad control 0 bits[7:6], cdata pad pull - up/ pull - down th ese bits enable or disable a weak pull - up or pull - down device on the pad. the effective resistance of the pull - up or pull - down is nominally 240 k ?. bits[5:4], clatch th ese bits enable or disable a weak pull - up or pull - down device on the pad. the effective resistance of the pull - up or pull - down is nominally 240 k ?. pad pull- up/ pull - down bits[3:2], scl/cclk pad pull - up/ pull - down these bits enable or disable a weak pull - up or pul l- down device on the pad. the effective resistance of the pull - up or pull - down is nominally 240 k ?. bits[1:0], sda/cout pad pull - up/ pull - down these bits enable or disable a weak pull - up or pull - down device on the pad. the effective resistance of the pull -u p or pull - down is nominally 240 k ?. table 67. communication port pad control 0 register bits description default [7:6] cdata pad pull - up/pull- down 11 00: pull -up 01: reserved 10: none (default) 11: pull - down [5:4] clatch 00 pad pull - up/pull- down 00: pull -up 01: reserved 10: none (default) 11: pull - down [3:2] scl/cclk pad pull - up/pull- down 11 00: pull -up 01: reserved 10: none (default) 11: pull - down [1:0] sda/cout pad pull -u p/pull - down 11 00: pull -up 01: reserved 10: none (default) 11: pull - down
adau1781 rev. b | page 79 of 92 register 16432 (0x4030) , communication port pad control 1 bit 3, cdata pin drive strength this bit sets the drive strength of the cdata pin. low mode yields 2 ma when iovdd = 3.3 v, or 0.75 ma when iovdd = 1.8 v. high mode yields 4 ma when iovdd = 3.3 v, or 1.5 ma when iovdd = 1.8 v. bit 2, clatch this bit sets the drive strength of the pin drive strength clatch bit 1, scl/cclk pin drive strength pin. low mode yields 2 ma when iovdd = 3.3 v, or 0.75 ma when iovdd = 1.8 v. high mode yields 4 ma when iovdd = 3.3 v, or 1.5 ma when iovdd = 1.8 v. this bit sets the drive strength of the scl/cclk pin. low mode yields 2 ma when iovdd = 3.3 v , or 0.75 ma when iovdd = 1.8 v. high mode yields 4 ma when iovdd = 3.3 v, or 1.5 ma when iovdd = 1.8 v. bit 0, sda/cout pin drive strength this bit sets the drive strength of the sda/cout pin. low mode yields 2 ma when iovdd = 3.3 v, or 0.75 ma when iovdd = 1.8 v. high mode yields 4 ma when iovdd = 3.3 v, or 1.5 ma when iovdd = 1.8 v. table 68 . communication port pad control 1 register bits description default [7:4] reserved 3 cdata pin drive strength 0 0: low 1: high 2 clatch 0 pin drive strength 0: low 1: high 1 scl/cclk pin drive strength 0 0: low 1: high 0 sda/cout pin drive strength 0 0: low 1: high
adau1781 rev. b | page 80 of 92 register 16433 (0x4031) , mcko control bit 2, mc ko pin drive strength this bi t sets the drive strength of the mcko pin. low mode yields 2 ma when iovdd = 3.3 v, or 0.75 ma when iovdd = 1.8 v. high mode yields 4 ma when iovdd = 3.3 v, or 1.5 ma when iovdd = 1.8 v. bit 1, mcko pull - up enable this bit enables or disables a weak pull -u p device on the pad. the effective resistance of the pull - up is nominally 240 k ?. bit 0, mcko pull -down enable this bit enables or disables a weak pull - down device on the pad. the effective resistance of the pull - down is nominally 240 k ?. table 69. mc ko control register bits description default [7:3] reserved 2 mcko pin drive strength 0 0: low 1: high 1 mcko pull - up enable (active low) 0 0: pull - down disabled 1: pull - down enabled 0 mcko pull - down enable 1 0: pull - down disabled 1: pull - down enabled
adau1781 rev. b | page 81 of 92 register 16434 (0x4032), dejitter control bits[7:0], dejitter window size the dejitter control register not only allows the size of the dejitter window to be set, but also allows all dejitter circuits in the devi ce to be activated or bypassed. dejitter circuits protect against duplicate samples or skipped samples due to jitter from the serial ports in slave mode. disabling and reenabling certain subsystems in the device that is, the adcs, serial ports, sound engin e/dsp core, and dacs during operation can cause the associated dejitter circuits to fail. as a result, audio data fails to be output to the next subsystem in the device. when the serial ports are in master mode, the dejitter circuit can be bypassed by set ting the dejitter window to 0. when the serial ports are in slave mode, the dejitter circuit can be reinitialized prior to outputting audio from the device, guaranteeing that audio is output to the next subsystem in the device. any time audio needs to pass through the adcs, serial port, sound engine/dsp core, or dacs, the dejitter circuit can be bypassed and reset by setting the dejitter window size to 0. then, the dejitter circuit can be immediately reactivated, without a wait period, by setting the dejitt er window size to the default value of 5. table 70. dejitter control register bits description default [7:0] dejitter window size 00000101 00000000: 0 core clock cycles 00000101: 5 core clock cycles
adau1781 rev. b | page 82 of 92 digital subsystem c onfiguration register 16512 (0x4080) , digital power - down 0 bit 7, adc engine setting this bit to 0 disables the adcs and the digital micro - phone inputs. bit 6, memory controller setting this bit to 0 disables all memory access, which disables the sigmadsp core , adcs, and dacs, as well as prohibits memory access via the control port. bit 5, clock domain transfer setting this bit to 0 in conjunction with bit 4, serial ports disables the serial ports. bit 4, serial ports setting this bit to 0 in conjunction wi th bit 5, clock domain transfer disables the serial ports. bit 3, serial output routing setting this bit to 0 disables the routing paths for the record signal path, which goes from the sigmadsp core to the serial port output. bit 2, serial input routing s etting this bit to 0 disables the routing paths for the play - back signal path, which goes from the serial input ports to the sigmadsp core . bit 1, serial port, adc, dac, and frame pulse clock generator setting this bit to 0 disables the internal clock generator, which generates all master clocks for the serial ports, sigmadsp core , adcs, and dacs. this bit must be enabled if audio is being passed through the adau1781 . bit 0, sigmadsp core setting this bit to 0 disables the sigmadsp core and makes the memor y inaccessible. this bit must be enabled in order to process audio and change parameter values. table 71 . digital power - down 0 register bit description default 7 adc engine 0 0: disable d 1: enable d 6 memory controller 0 0: disable d 1: enable d 5 clock domain transfer (when using the serial ports) 0 0: disable d 1: enable d 4 serial ports 0 0: disable d 1: enable d 3 serial output routing 0 0: disable d 1: enable d 2 serial input routing 0 0: disable d 1: enable d 1 serial port, adc, dac, and frame pulse clock generator 0 0: disable d 1: enable d 0 sigmadsp core 0 0: disable d 1: enable d
adau1781 rev. b | page 83 of 92 register 16513 (0x4081) , digital power - down 1 bit 3, output precharge the output precharge system allows the outputs to be biased before they are enabled and prevents pops or clicks from appearing on the output. this bit should be set to 1 at all times. bit 2, zero - crossing detector setting this bit to 0 disables the zero - crossing detector for beep pla yback. bit 1, digital microphone setting this bit to 0 disables the digital microphone input. bit 0, dac engine setting this bit to 0 disables the dacs. table 72 . digital power - down 1 register bit s description default [7:4] rese rved 3 output precharge 1 0: disable d 1: enable d 2 zero - crossing detector 1 0: disable d 1: enable d 1 digital microphone 0 0: disable d 1: enable d 0 dac engine 0 0: disable d 1: enable d
adau1781 rev. b | page 84 of 92 register 16582 to register 1658 6 (0x40c 6 to 0x40ca) , gpio pin control bits[3:0], gpio pin function the gpio pin control register sets the functionality of each gpio pin as depicted in table 74 . gpio0 to gpio 3 use the same pins as the serial port and mus t be enabled in register 16628 (0x40f4), serial data/gpio pin configuration . pin 7 is a dedicated gpio. the gpio pin can be set directly by the sigmadsp core and therefore should be set as 1011 or 1100 (outputs set by the sigmadsp core ). in order for gpio0 through gpio3 to be used, they should be configured as 1001 or 1010 ( o utput s set by the i 2 c/spi port ). t here are five gpio pin value registers that allow the input/output data value of the gpio pin to be written to or read directly from the control port. the corresponding addresses are listed in table 75 . each value register contains four bytes and can store only one of two values: logic high or logic low. logic high is stored as 0x00 , 0x80 , 0x00 , 0x00. logic low is stored as 0x00 , 0x00 , 0x00 , 0x00. table 73 . gpio pin control register s address decimal hex register bits description default 16582 0x40c6 gpio pin control [7:4] reserved [3:0] dedicated gpio (pin 7) function (see table 74 ) 1100 16583 0x40c7 gpio0 control [7:4] reserved [3:0] gpio0 pin function (see table 74 ) 1100 16584 0x40c8 gpio1 control [7:4] reserved [3:0] gpio1 pin funct ion (see table 74 ) 1100 16585 0x40c9 gpio2 control [7:4] reserved [3:0] gpio2 pin function (see table 74 ) 1100 16586 0x40ca gpio3 control [7:4] reserved [3:0] g pio3 pin function (see table 74 ) 1100 table 74 . gpio pin functions gpio bits [3:0] gpio pin function 0000 input without debounce 0001 input with debounce (0.3 ms) 0010 input with debounce (0.6 ms) 0011 input with debounce (0.9 ms) 0100 input with debounce (5 ms) 0101 input with debounce (10 ms) 0110 input with debounce (20 ms) 0111 input with debounce (40 ms) 1000 input controlled by i 2 c/spi port 1001 output set by i 2 c/spi port wit h pull - up 1010 output set by i 2 c/spi port without pull - up 1011 output set by sigmadsp core with pull - up 1100 output set by sigmadsp core without pull - up 1101 reserved 1110 output crc error (sticky) 1111 output watchdog error (sticky) register 1000 to register 1004 (0x 03e8 to 0x 03ec ) , gpio pin value table 75 . addresses of gpio pin value registers address register decimal hex 1000 0x03e8 gpio pin value, gpio 1001 0x03e9 gpio pin value, gpio0 1002 0x03ea gpio pin value, gpi o1 1003 0x03eb gpio pin value, gpio2 1004 0x03ec gpio pin value, gpio3
adau1781 rev. b | page 85 of 92 register 16617 and register 16618 (0x40e9 and 0x40ea) , nonm odulo these registers set the bou ndary for the non modulo ram space used by the sigmadsp core . an appropriate value is aut omatically loaded to this register during initialization. it should not be modified for any reason. register 16619 (0x40eb), sigmadsp core frame rate bits[3:0], sigmadsp core frame rate these bits set the frequency of the frame start pulse, which is deliv ered to the sigmadsp core to begin processing on each audio frame. it effectively determines the sample rate of audio in the sigmadsp core . this register should always be set to none at least one frame prior to disabling register 16630 (0x40f6), sigmadsp c ore run, bit 0, sigmadsp core run, to allow the sigmadsp core to finish processing the current frame before halting. table 76 . nonm odulo register s bit s description [31:0] reserved table 77. sigmadsp core frame rate register bit s description default [7:4] reserved [3:0] sigmadsp core frame rate 0000 0000: f s 2 (96 khz) 0001: f s (48 khz) 0010: f s /1.5 (32 khz) 0011: f s /2 (24 khz) 0100: f s /3 (16 khz) 0101: f s /4 (12 khz) 0110: f s /6 (8 khz) 0111: serial data input rate 1000: serial data output rate 1001: f s 4 (192 khz) 1010: none 1111: none
adau1781 rev. b | page 86 of 92 register 16626 (0x40f2) , serial input route control bits[3:0], input routing these bits select which serial data input chann els are routed to the dacs (see figure 74 ). table 78 . serial input route control register bits description default [7:4] reserved [3:0] input routing 0000 0000: serial input to sigmadsp core to dacs 0001: serial input [l0, r0] 1 to dacs [l, r] 0010: reserved 0011: serial input [l1, r1] 1 to dacs [l, r] 0100: reserved 0101: serial input [l2, r2] 1 to dacs [l, r] 0110: reserved 0111: serial input [l3, r3] 1 to dacs [l, r] 1000: reserved 1001: serial input [r0, l0] 1 to dacs [l, r] 1010: reserved 1011: serial input [r1, l1] 1 to dacs [l, r] 1100: reserved 1101: serial input [r2, l2] 1 to dacs [l, r] 1110: reserved 1111: serial input [r3, l3] 1 to dacs [l, r] 1 lx = left side of channel x; rx = right side o f channel x.
adau1781 rev. b | page 87 of 92 register 16627 (0x40f3) , serial output route control bits[3:0], output routing these bits select where the adc outputs are routed in the serial data strea m (see figure 74 ). table 79 . serial output route control register bits description default [7:4] reserved [3:0] output routing 0000 0000: adcs to sigmadsp core to serial outputs 0001 : adcs [l, r] to serial output [l0, r0] 1 0010: reserved 0011: adcs [l, r] to serial output [l1, r1] 1 0100: reserved 0101: adcs [l, r] to serial output [l2, r2] 1 0110: reserved 0111: adcs [l, r] to serial output [l3, r3] 1 1000: reserved 1001: adcs [l, r] to serial output [r0, l0] 1 1010: re served 1011: adcs [l, r] to serial output [r1, l1] 1 1100: reserved 1101: adcs [l, r] to serial output [r2, l2] 1 1110: reserved 1111: adcs [l, r ] to serial output [r3, l3] 1 1 lx = left side of channel x; rx = right side of channel x. 1/ f lrclk lrclk stereo channels l0 r0 tdm 4 channels l0 r0 l1 r1 tdm 8 channels l0 r0 l1 r1 l2 r2 l3 r3 08314-070 figure 74 . serial port routing control
adau1781 rev. b | page 88 of 92 register 16628 (0x40f4), serial data/gpio pin configuration bits[ 3 :0] , gpio [0 :3] the serial data/gpio pin configuration register controls the functionality of the serial data port pins. if the bits in this register are set to 1, then the gpio[0:3] pins become gpio interfaces to the sigmadsp core . if these bits are set to 0, they remain lrclk, bclk, or serial port data pins , respectively . register 16630 (0x40f 6), sigmadsp core run bit 0, sigmadsp core run this bit, in conjunction with the sigmadsp core frame rate, initiates audio processing in the sigmadsp core . when this bit is enabled , the program counter be gins to increment when a new frame of audio data is input to the sigmadsp core . when this bit is disabled, the sigmadsp core goes in to standby mode. before going in to standby mode, the following sequence must be performed : 1. set the sigmadsp core frame rate in register 16619 to 0x7f (none) . 2. wait 3 ms. 3. set the sigmadsp core run bit in register 16630 to 0x00. when reenabling the sigmadsp core run bit, the following sequence must be followed: 1. set the sigmadsp core frame rate in register 16619 to an appropriate value. 2. set the sigmadsp core run bit in register 16630 to 0x01. register 16632 (0x40f8), serial port sampling rate bits[2:0], serial port control sampling rate these bits set the serial port sampling rate as a function of the audio sampling rate, f s . in mo st applications, the serial port sampling rate, sigmadsp core sampling rate, and adc and dac sampling rates should be equal. table 80 . serial data/gpio pin configuration register bits description default [7:4] reserved 3 gpio0 0 0: lrclk 1: gpio enabled 2 gpio1 0 0: bclk 1: gpio enabled 1 gpio2 0 0: serial data output 1: gpio enabled 0 gpio3 0 0: serial data input 1: gpio enabled table 81. sigmadsp core run register bits descri ption default [7:1] reserved 0 sigmadsp core run 0 0: sigmadsp core standby 1: run the sigmadsp core table 82 . serial port sampling rate register bits description default [7:3] reserved [2:0] serial port control sampli ng rate 000 000: f s /1 (48 khz) 001: f s /6 (8 khz) 010: f s /4 (12 khz) 011: f s /3 (16 khz) 100: f s /2 (24 khz) 101: f s /1.5 (32 khz) 110: f s /0.5 (96 khz) 111: reserved
adau1781 rev. b | page 89 of 92 outline dimensions compliant to jedec standards mo-220-vhhd-2 0.30 0.23 0.18 0.20 ref 0.80 max 0.65 typ 0.05 max 0.02 nom 12 max 1.00 0.85 0.80 seating plane coplanarity 0.08 1 32 8 9 25 24 16 17 0.50 0.40 0.30 3.50 ref 0.50 bsc pin 1 indicator top view 5.00 bsc sq 4.75 bsc sq 3.65 3.50 sq 3.35 pin 1 indicator 0.60 max 0.60 max 0.25 min exposed pad (bottom view) 100608-a for proper connection of the exposed pad, refer to the pin configuration and function descriptions section of this data sheet. figure 75 . 32 - lead lea d frame chip scale package [lfcsp_vq] 5 mm 5 mm body, very thin quad (cp - 32 -4) dimensions shown in millimeters ordering guide model 1 temperature range package description package option adau1781 bcpz ?25 c to +85c 32- lead lfcsp _vq cp -32 -4 adau1781 bcpz - rl7 ?25c to +85c 32- lead lfcsp_vq , 7 tape and reel cp -32 -4 eval - adau1781 z evaluation board 1 z = rohs compliant part.
adau1781 rev. b | page 90 of 92 notes
adau1781 rev. b | page 91 of 92 notes
adau1781 rev. b | page 92 of 92 notes purchase of licensed i 2 c components of analog devices or one of its sublicensed associated companies conve ys a license for the purchaser under the philips i 2 c patent rights to use these components in an i 2 c system, provided that the system conforms to the i 2 c standard specification as defined by philips. ? 2009 C 2011 analog devices, inc. all rights reserved. trademarks and registered trademarks are the property of their respective owners. d08314 -0- 1/11(b)


▲Up To Search▲   

 
Price & Availability of EVAL-ADAU1781Z

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X